On Mon, Apr 04, 2005 at 10:49:33AM +0800, Andy Sy wrote: > This is for the case where you can't decide yet at > the beginning how you want to separate the directories > under root. What you can do is put them all under one > logical volume (/) expanded to your full drive capacity > at first.
But Andy, I suppose you have not heard of the inconvenient fact that it's at this point impossible to shrink any logical volume without unmounting it, and that not all filesystems will even allow shrinking at all. You can't nondestructively shrink an XFS or Ext2/3 filesystem for instance, and while ReiserFS supposedly allows nondestructive shrinking with an unmount, it is in my experience not true. The last time I tried it, carefully following the instructions destroyed my /var partition, which is not altogether surprising as the resize_reiserfs tool warned me in no uncertain terms that what I was doing was dangerous and could lead to data loss. Even if the shrinking process was safe and error free, your scheme would still require booting off a rescue disk in order to shrink the root partition at any time this is required! If you've made a logical volume grow to your full drive capacity, then there's no turning back. Under your scheme with the current state of Linux filesystem and volume management software, it has no advantages over creating a single root partition expanded to your full drive capacity. I believe this is also true of many proprietary Unix systems' filesystem and volume management. -- El sueño de la Razon Produce Monstruos... http://stormwyrm.blogspot.com/ -- Philippine Linux Users' Group (PLUG) Mailing List plug@lists.q-linux.com (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie