Hello! On Tue, May 31, 2005 at 08:31:55PM +0200, mess-mate wrote: >Hannah Schroeter <[EMAIL PROTECTED]> wrote: >| 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). *nods* >And if i leave /var as it is, only /usr must be reduced. You wanted to grow /var instead, didn't you? You could try growfs for /usr then, but you should backup anyway, best everything. >But /usr has to be unmounted to make a backup, do it ? Best you do it in single user mode. You can have it mounted though (perhaps read-only, e.g. if you want to gzip the backup). >That case can't get the system running. >Thanks for your time >mess-mate Kind regards, Hannah. -- Hannah Schrvter Entwicklung [EMAIL PROTECTED] Bei Schlund + Partner AG Brauerstra_e 48 D-76135 Karlsruhe This specification allows any of these approaches. Solving the Halting Problem is considered extra credit. (RFC 3028)