I need to add a hard drive to a RedHad 6.2 server. I have a HardDrive and CDrom on IDE0 and the drive I wish to add on IDE1. Kudzu saw it and added it. I am now lost as how to add it as a new volume?
I'd guess this is not the case, however. In that case you'd first have to create one or more ext2 partitions on the disk (/dev/hdc from what you say) and then make ext2 filesystem(s) in those partitions. You would use '/sbin/fdisk /dev/hdc' to create the partitions and mkfs to create the filesystem (format the partition just created).
For example, if you had a new partition /dev/hdc1 :
mkfs -t ext2 -cv /dev/hdc1
After you have a new ext2 partition or partitions, you have to decide where you want to 'mount' those partitions. Lets say you decide to mount at '/usr2'. You would firstly make a dummy directory of the same name ... 'mkdir /usr2' . Then edit /etc/fstab to add the filesystem and mount-point - something like this :
/dev/hdc1 /usr2 ext2 defaults 1 2
Once you've mounted that partition ('mount /dev/hdc1') you will have all that space available under /usr2 .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.