Mounting disks in centos 5.3, redirecting folders to other drives
Hi there, centos 5,3 x64 running on ESX.
fdisk output: Code:
Disk /dev/sdb: 2147 MB, 2147483648 bytes Code:
echo -ne "n\np\n1\n\n\nw\n" | fdisk /dev/sdb Code:
Disk /dev/sdb: 2147 MB, 2147483648 bytes Once I get that (and other) partitions mounted I would like to point /tmp at one, /home at another and /var/log at the third. How would I do this? Thanks! |
Well you aren't trying to mount a partition (that would be something like /dev/sda1). Have you partitioned and formatted the drive? Note that you format partitions, not devices, even if you only put one partition on it.
Look into using fdisk to partition it, them try mkfs on the partition or partitions you made. |
All times are GMT -5. The time now is 03:52 PM. |