//** Just follow the given instruction below **// :--
*****************************************************************
root@server [~]# fdisk -l
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 14593 117218241 83 Linux
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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 535 4192965 82 Linux swap / Solaris
/dev/sda3 536 19457 151990965 83 Linux
Once detected, /dev/hda1, just mount it using mount /dev/hda1 /backup assuming that the backup folder is already in place
root@server [/]# mount /dev/hda1 /backup/
root@server [/]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 141G 16G 118G 12% /
/dev/sda1 99M 11M 83M 12% /boot
tmpfs 1008M 0 1008M 0% /dev/shm
/usr/tmpDSK 485M 11M 449M 3% /tmp
/dev/hda1 111G 188M 105G 1% /backup
So the secondary drive has been mounted as /backup.
Now to make it permanent you will need to edit /etc/fstab.
/dev/hda1 /backup ext3 defaults 1 1
*****************************************************************
Mounted and completed.
Note:-
Please keep this information in your KB for future reference..
No comments:
Post a Comment