Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] extending /usr partition...
Date: Sat, 21 Mar 2009 18:04:45
Message-Id: 49C52C76.4030609@gmail.com
1 Hi,
2
3 I found out my /usr is getting full pretty fast, so I want
4 to increase it before it happens a real problem. I have:
5
6 /dev/md4 (sda5+sdb5), ~5GB size, used for /var, nearly empty
7 /dev/md5 (sda6+sdb6), ~5GB size, used for /usr, nearly full (90%)
8 And I have /backup on separate partition (hda1), big enough
9
10 What I think of is this procedure: First I copy /var and /usr:
11 cp -a /var /backup
12 cp -a /usr /backup
13
14 Then I intend to reboot with install-cd, repartition sda/sdb
15 (make sda5/sdb5 smaller and sda6/sdb6 bigger), create new
16 /dev/md4 and /dev/md5, mount them, and copy the content back.
17
18 cp -a /mnt/gentoo/backup/var /mnt/gentoo/var
19 cp -a /mnt/gentoo/backup/usr /mnt/gentoo/usr
20
21 Is it a correct procedure? All partitions are ext3 type, no lvm2,
22 moreover on /dev/md so I can not extend/shrink them while using...
23
24 Jarry
25
26 --
27 _______________________________________________________________
28 This mailbox accepts e-mails only from selected mailing-lists!
29 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] extending /usr partition... Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] extending /usr partition... Dirk Heinrichs <dirk.heinrichs@××××××.de>