Rolf-Werner Eilert wrote:
> Martin Woolley schrieb:
>> On Tuesday 05 February 2008 23:27, jam wrote:
>>
>>> Rolf why did you partition your disks eg /usr etc
>>> because 'you can' is cute etc but you'll need to start again.
>>>
>>> In general don't partition your disks (in many pieces) unless you need
>>> to, and if you need to you will understand how and why and what size
>>> etc.
>>>
>>> This is what I do:
>>>
>>> /   10G             # big enough for all my fiddling
>>> swap        1G              # never use it, but it is there for someday
>>> /home       TheRest         # Can reinstall OS with ditching MyStuff
>> Using the default paritioning scheme (ie minimal) is 
>> nonsense.  /opt, /usr/local and /home should each have a dedicated 
>> partition.  
>> Why? If you decide to reinstall, you wont lose your optional and locally 
>> developed software.  When I upgrade to the next release of the o/s I almost 
>> never follow the upgrade path, opting for a clean installation.  The whys of 
>> partitioning are explained at http://tldp.org/HOWTO/html_single/Partition/ 
>> and http://www.wellho.net/solutions/general-why-partition-a-disc-drive.html
>>
>> Here is our partion table from one of our LTSP servers (we keep users home 
>> directories on a NFS machine) I consider this to be the bare minimum scheme.
>>  
>> Filesystem            Size  Used Avail Use% Mounted on
>> 7.6G   /
>> 99M   /boot
>> 2.0G  /swap
>> 5G     /home
>> 3.4G  /opt
>> 3.4G  /usr/local
>> 131G  /home/MAUD (NFS)
>>
>> You do not need to start again to introduce partitioning.  A tool such as 
>> gparted enables you to rejig you partition table, assuming you have enough 
>> free space.  Recently I had to increase the size of my boot partition to 
>> accomodate a kernel upgrade and gparted enabled me to rejig my entire table 
>> without resorting to a reinstall. 
> 
> 
> You got me all wrong, folks :-)
> 
> There is plenty of space left on this volume, so it shouldn't come to 
> this end if it didn't use this one directory (which is very small) for 
> making the image. Here was my question: is there a way to tell it to 
> make the image somewhere else? If not, I'll have to alter the 
> partitions' lengths, of course.
> 
If you have more space on the disk, make a new partition for /opt.  Then 
you don't have to tell it to make the image somewhere else.  This will 
help you move /opt to a dedicated partition:

1) make your new /opt partition
2) mkdir /mnt/tmp
3) mount /dev/<yournewpartition> /mnt/tmp
4) mv /opt/* /mnt/tmp
5) umount /mnt/tmp
6) mount /dev/<yournewpartition> /opt

Now /opt is its own partition.  Edit /etc/fstab so that it stays that 
way on system reboot.  Assuming it's an ext3 partition:

/dev/<yournewpartition>  /opt  ext3  defaults  1  2

Note that the "1" could also be a "0".  I can't make a recommendation 
for you, except check your fstab file and make it the same as your other 
partitions.

-Rob
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to