Hannah Schroeter <[EMAIL PROTECTED]> wrote: | Hello! | | On Tue, May 31, 2005 at 06:05:39PM +0200, mess-mate wrote: | >Hi list, | >anyone known a safe way to reduce my /usr partition and moving my | >/var ? | >Here my slice : | >Filesystem 512-blocks Used Avail Capacity Mounted on | >/dev/wd0a 301532 232776 53680 81% / | >/dev/wd0d 242012 4 229908 0% /tmp | >/dev/wd0f 2821788 990880 1689820 37% /usr | >/dev/wd0e 604412 485084 89108 84% /var | | Backup *everything*, edit the disklabel to move around the space between | /usr and /var (it can work while preserving the other partitions if they | are adjacent), newfs, restore the backups. If you should break the other | partitions by accident, you have got a backup of everything, haven't you? | Here is my disklabel layout : 16 partitions: # size offset fstype [fsize bsize cpg] a: 307377 63 4.2BSD 2048 16384 304 # (Cyl. 0*- 304) b: 196560 307440 swap # (Cyl. 305 - 499) c: 4233600 0 unused 0 0 # (Cyl. 0 - 4199) d: 245952 504000 4.2BSD 2048 16384 244 # (Cyl. 500 - 743) e: 614880 749952 4.2BSD 2048 16384 328 # (Cyl. 744 - 1353) f: 2868768 1364832 4.2BSD 2048 16384 328 # (Cyl. 1354 - 4199)
So f seems the last one (/usr). And if i leave /var as it is, only /usr must be reduced. But /usr has to be unmounted to make a backup, do it ? That case can't get the system running. Thanks for your time mess-mate -- Delay not, Caesar. Read it instantly. -- Shakespeare, "Julius Caesar" 3,1 Here is a letter, read it at your leisure. -- Shakespeare, "Merchant of Venice" 5,1 [Quoted in "VMS Internals and Data Structures", V4.4, when referring to I/O system services.]