[CLUE-Tech] fstab, directories, and 2 Hard drives on one system
Robert L. Harris
Robert.L.Harris at rdlg.net
Tue Jan 15 12:55:12 MST 2002
You can rmdir the data1, it's just a mount point. Just a thought, if
you're running 2.4.12+, compile in ext3. Once you do that, you can add
journaling to your machine's drives without reformatting, etc. Took a
power hit recently when my son found the bright button on my UPS. It's
great bringing back up a system with 120Gigs of disk space and not
requireing a full fsck on all drives.
Thus spake Kevin Cullis (kevincu at orci.com):
> Hi all,
>
> I'm finally getting to work on a second HD on my Linux system. I've got
> Linux seeing the second hard drive and have partitioned it and this is
> my fstab:
>
> ------
> /dev/hda2 swap swap defaults 0
> 0
> /dev/hda3 / ext2 defaults 1
> 1
> /dev/hda1 /boot ext2 defaults 1
> 2
> /dev/hdb1 /data2 ext2 defaults 1
> 2
>
> proc /proc proc defaults 0
> 0
> # End of YaST-generated fstab lines
>
> # /dev/hdb1 /data1 auto noauto,user 0 0
> /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
> devpts /dev/pts devpts defaults 0 0
> /dev/fd0 /media/floppy auto noauto,user,sync 0 0
> ------
>
> However, when I view my root directory, I see this:
>
> bin cdrom data2 etc home lost+found mnt proc sbin swap
> usr
> boot data1 dev floppy lib media opt root share tmp
> var
>
> Question: When I repartition my HD and I "rename" the second HD as
> /data2/ it keeps the first directory (nothing is in each discussed
> directory) I can rmdir the "first" directory without any problem, right?
>
> (I commented out the /dev/hdb1 /data1 so that I wouldn't delete
> anything)
>
> Question: Does SuSe using YAST create a new partition and then write to
> fstab.
>
> Question: Are there predependencies that I should be aware of?
>
> Does anyone have any suggestions as to how I could best utilize 2 HD on
> my system?
>
> Thanks
>
> Kevin
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
:wq!
---------------------------------------------------------------------------
Robert L. Harris | Micros~1 :
Senior System Engineer | For when quality, reliability
at RnD Consulting | and security just aren't
\_ that important!
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
More information about the clue-tech
mailing list