LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Secondary Hdd Problems (/dev/hdb) with Suse 10 (https://www.linuxquestions.org/questions/suse-opensuse-60/secondary-hdd-problems-dev-hdb-with-suse-10-a-390631/)

shahpnectah 12-08-2005 03:22 PM

Secondary Hdd Problems (/dev/hdb) with Suse 10
 
How do i set up a secondary HDD (/dev/hdb) so that it will properly mount and be usable?

bigrigdriver 12-08-2005 03:43 PM

For each partition on hdb, you will need an entry in /etc/fstab which names the device and the mountpoint for that device.

Example:
/dev/hdb5 /mnt/hdb5 ext3 defaults 1 2
/dev/hdb6 /mnt/hdb6 ext3 defaults 1 2
/dev/hdb7 /mnt/hdb7 ext3 defaults 1 2
/dev/hdb8 /mnt/hdb8 ext3 defaults 1 2

Then you need to cd to /mnt and create the mountpoints: mkdir hdb5, etc. Of course, you can name them anything you want, but the names have to be the same in both places. The third column names the filesystem (in this case ext3). If you have some other, then use the appropieate type. The fourth column (defaults) can be replaced with other comma-seperated parameters, such as ro (read only), rw (read write), auto, noauto, user, users, and a host of others.

shahpnectah 12-08-2005 09:05 PM

not understanding
 
I am very new to linux and not understanding the mounting process. I am using Suse 10 and it has a partitioner built in. If anyone knows the settings to use for the secondary hard drive on Suse 10's partitioner i would really appreciate it. Otherwise I will need to use commands that I don't know in the konsole. I understand that the mounting stuff has to match up to the created mount, but I dont know how to actually do any of this stuff. Please help!

bigrigdriver 12-11-2005 12:27 AM

SuSE comes with documentation in /usr/share/doc/manual/suselinux-adminguide_en/html. Click on the file named index.html to see the table of contents of the system administrators guide. Scroll down to section 2.7 and click on it. That will take you the the section on how to use YaST to partition the disk.


All times are GMT -5. The time now is 04:38 AM.