How to mount a New Hard Disk ! ?
Hi, i have 4x HD in RAID 5, Hardware controller, recompiled kernel etc...
Linux detects the drive as /dev/sda so i did a cfdisk , made 1 big partition after that i did : mkfs -t ext3 /dev/sda then : mkdir /mnt/memphis (name for my sda device) and then im stuck. i have to put smthing in etc/fstab can u tell me what to add and how to mount or copy files to this new disk ??? thx:newbie: |
Try this.
mount /mnt/memphis /dev/sda or mount /dev/sda /mnt/memphis |
Then do.
mount And paste the output. |
You have only one partition in /dev/sda. It should be /dev/sda1.
mkfs.ext3 /dev/sda1 mkfs -t ext3 /dev/sda1 To mount this partition manually on /mnt/memphis, mount -t ext3 /dev/sda1 /mnt/memphis To put it in fstab, add the following line /dev/sda1 /mnt/memphis ext3 defaults 1 2 This should work fine. For more info, man fstab |
the "defaults" doest that mean that i can write and read on the disk ?
cause i saw my buddy writes RW where u write defaults |
Default option includes rw support.
Other options are ro : read only rw : read write noauto : no auto mount at start-up auto : auto mount at start-up loop : loop device user : mountable by normal users You can club options together such that they are not ambiguous. |
thx a LOT
I'll try it in the eve.
one more question ... My boot disk has 3 partitions : /dev/hda1 (swep 512 mb) /dev/hda2 (Root) <----- /dev/hda3 (I would like to mount my home dir here ! ) How can i mount my /home on /dev/hda3 ? |
All times are GMT -5. The time now is 08:05 PM. |