Listing hdd's
I know this is a very n00bish question, but how do you list the harddrives in linux? I am using Debian 3.0 Sarge. I want to do this so I can setup backup2l for my personal server.
|
cd /proc
ls ide If you have SATA or SCSI, then also ls scsi Also, dmesg should mention all your drives, but you may need to search around a bit for them |
Thanks. It is /dev/hdc as I suspected, but I could not mount. How could I mount it.
I tried (as root): mkdir /mnt/backup mount /dev/hdc /mnt/backup I know I am missing something in the mount command but I dont know what. what filesystem hould I use? |
Do you have a directory called /mnt/backup?
You would need to do: mkdir /mnt/backup mount /dev/hdc /mnt/backup cd /mnt/backup This may need to be done as root, via su [edit]Sorry, just reread your post, what error messages are you getting?[/edit] |
I type this:
mount /dev/hdc /mnt/backup fat32 and it gives me the commands for mount if I leave of the fat32, it says to specify filesystem In fdisk I cannot find how to change the filesystem. I put that on and it defaulted to fat32 (i did this on linux) How could I change it? |
Please help. I need this backup system setup soon.
|
Per the LQ rules that you accepted please do NOT
bump your posts until 24 hours have passed... You can't mount the raw-device, it doesn't have ANY filesystem that you can use with mount. First find out what partitions you have: (as root) fdisk -l Then try mount -t vfat /dev/hdc<N> /mnt/backup where <N> is the number of the partition that would be the fat-one ... Cheers, Tink |
Thanks Tinkster. Sorry about the bumping. It works now.
|
Cool - glad I could help :)
Cheers, Tink |
All times are GMT -5. The time now is 01:32 PM. |