On Tue, 02 Mar 1999, Dave Mielke wrote:
SC>On Tue, 2 Mar 1999, Sangohn Christian wrote:
SC>>/dev/sdb9                   /var            ext2    defaults                       
 0       2
SC>>/dev/sdb10                  /tmp            ext2    defaults                       
 0       2
SC>>
SC>>Is it possible to concatenate partitions sdb9 and sdb10 to one partition without 
SC>>affecting the other partitions?
SC>
SC>Yes, if you're careful.
SC>
SC>The simplest way is to tar up sdb9 [/var] (don't bother with sdb10 as /tmp is
SC>expendible) into another partition (not sdb9 or sdb10), delete sdb10, adjust
SC>the end of sdb9 so that it's where the end of the former sdb10 was, reformat
SC>sdb9 as ext2, untar /var back into the bigger sdb9, create a symbolic link in
SC>your root partition from /tmp to /var/tmp (which already exists), and, finally,
SC>update /etc/fstab as all partitions beyond sdb10 will now have been renumbered
SC>downward by 1. N.B.: Be sure that you're in single user mode, with nothing else
SC>running, when you do this.
The real problem is that this two partitions are obviously to small dimensioned.
/tmp because when compiling big source packages (like koffice or mico) with debug 
options, it fails because of a "no space left on device" and /var because the 
Debian package information are stored there. So I though I could enlarge the /tmp 
partition and /var should be on the root partition. But you are suggesting /var 
and /tmp should use the same partition space. What are the advantages of your 
solution to mine?

SC>
SC>If you have PartitionMagic, and if it supports SCSI disks (I'm not sure, as I
SC>only have IDE disks), then the job is quite a bit easier as it understands the
SC>ext2 file system. Start PartitionMagic, and: delete sdb10, expand sdb9. Then
SC>exit partitionMagic, and: create the /tmp->/var/tmp symbolic link, fix
SC>/etc/fstab.
SC>
SC>I have been running for a long time with /tmp symbolically linked to /var/tmp,
SC>and find that such a setup works great.
SC>
SC>-- 
SC>Dave Mielke           | 856 Grenon Avenue | I believe that the Bible is the
SC>Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
SC>EMail: [EMAIL PROTECTED] | Canada  K2B 6G3   | if you're concerned about Hell.
--
   ,---._____________________________
  /                                  \   |~~\_____/~~\__  |
 | [EMAIL PROTECTED]  >---\______====== )-+
 |  ,---.___________________________/            ~~~|/~~  |
 |/                                                 ()

Reply via email to