Thanks Rsreid.
I will try it today and give you an update.
Peter
Main Topics
Browse All TopicsI have three external USB drives that I want to use as off-site backup media. I am backing up tar.gz files that exceed 25 GB so I can't use FAT to format.
I need instruction as to how I can use Linux LVM to format and auto mount the drive when the USB connection is made.
I would like specific instructions for:
How to see the drive in /dev/sdd#
How to create a LVM
How to partition the drive
How to format the drive.
How to mount the drive
How to have automatic mount when USB is connected to server.
Many thanks
Linux Fedora Core 6
8 GB RAM
core 4 3 GHZ
ext3
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: rsreidPosted on 2008-04-10 at 08:04:25ID: 21325590
How to see the drive in /dev/sdd#
as root, run fdisk -l
Mine returns:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 523 4096575 82 Linux swap / Solaris
/dev/sda3 524 60801 484183035 fd Linux raid autodetect
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 510 4096543+ 83 Linux
/dev/sdb2 511 60788 484183035 fd Linux raid autodetect
/dev/sdb3 60789 60801 104422+ 83 Linux
Disk /dev/sdc: 250.9 GB, 250999209984 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 30515 245111706 7 HPFS/NTFS
My usb drive is /dev/sdc1. Make sure you have your data backed up. Delete the previous partitions, which were probably ntfs or fat, with the following commands on each drive:
fdisk /dev/sdc
type "d" to delete the partition
type "w" to write the changes to the disk.
Go back in with "fdisk /dev/sdc" and make the new partitions
type "n" to make a new partition
type "p" for primary
type "1" for the first primary partition
type "t" for type and type "8e" for the type which is Linux LVM.
type "w" to write the changes.
Now do this for each of your usb drives.
As for the LVM, it sounds like you want separate LVM partitions for each drive. I would not do LVM. It would be easier to just do an ext3 formated partion on a regular disk. If you want to do ext3, then just set the type above from "8e" to "83".
To format it as ext3, run "mkfs.ext3 /dev/sdc1". With USB drives, I think they will automatically mount under /media on later versions of Red Hat and Fedora. With LVM, I'm pretty sure they won't mount automatically.
If you want to do the LVM route still, let me know and I'll put some more information together.