mount points and partition clarification
Hey all,
I have multi-boot with RH9/FC2/Winxp. Here's my disk geometry /dev/hda - winxp /dev/hdb1 - boot - 100 MB /dev/hdb2 - "/" for RH9 - 5GB /dev/hdb3 - Swap - 1GB /dev/hdb4 - extended /dev/hdb5 - "/" for FC2 - 5GB hdb is 40 GB. I have a question regarding mount points. I want to fill up the empty space by making partitions for /usr, /var, /opt, /home. since the "/" directories of respective distros already have /usr , /opt , /var and /home directories, does this mean that contents in /usr, /opt, /var, /home will be visible in newly created respective partitions. One more question, I want to install slackware 10. I believe slackware recognizes ext3 and reiserfs. I'm going to create partition from RH9. I would like to use reiserfs. Is that possible or i've to stick with ext2. I once installed slackware 10 (ext2 fs) few days back but then i had to format the whole harddrive as my fs corrupted due to power failure. Any pointers??? Thanks in advance |
First...why did you use ext2 with slackware 10? It gives you the option to use both ReiserFS and ext2...either would have been better!
Second...if you create a new /usr partition you will have to copy all the files over from your current /usr directory for them to be usable. You will also have to put an entry in /etc/fstab for the new partition and mount point. Third...no, it's perfectly fine for partitions to use different filesystems to each other. On my old box I used ext3 on / and reiserfs on /home. |
That enlightens me!!! I'll try out reiserfs for slackware 10.
Thanks, |
Re: mount points and partition clarification
Quote:
Quote:
|
The tool to format a disk to reiserfs is mkreiserfs (as root). It will erase all data though.
|
Quote:
|
Quote:
tune2fs -j /dev/xxx xxx being the partition you want to convert. It only adds a journal, keeping data intact. |
I've reformatted my harddrive several times for various reasons and to answer all your questions - I would like to run a webserver on my linux. I ran a webserver before my fs got corrupt (I only had important data in /home which i backup up). I would also like to run a ftp server occasionally and would run shoutcast audio streaming server.
Now coming to crusher's post... My earlier config was everything under "/" - which was pretty then (about 25 GB). Now I read somewhere that if I have a small "/" size (as it it the case with me right now, 5 GB and with packages installed only about 1.5 GB free) and I'm running a webserver my logs could fill in the free space quickly. I also read a lot of places about making partition for various important directories like /var, /usr etc. My idea is to make /var, /usr, /home, /opt only that I might install more softwares in future and I dont want to run out of space in "/" and then resize the partitions. For Komakino's tip, i'll be using parted to make reiserfs partition for slackware 10 #parted -i /dev/hdb print take start and end blocks from above and then #parted -i /dev/hdb mkpartfs logical reiserfs start end I think this should do. Thanks, tuxRULES! |
Quote:
Here a link: http://tldp.org/HOWTO/LVM-HOWTO/ Just have a look. You can even resize your partitions without any data loss. LVM is great :-) Crusher |
All times are GMT -5. The time now is 11:49 AM. |