public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] extending /usr partition...
@ 2009-03-21 18:05 Jarry
  2009-03-21 18:12 ` Alan McKinnon
  2009-03-21 18:16 ` [gentoo-user] " Dirk Heinrichs
  0 siblings, 2 replies; 25+ messages in thread
From: Jarry @ 2009-03-21 18:05 UTC (permalink / raw
  To: gentoo-user

Hi,

I found out my /usr is getting full pretty fast, so I want
to increase it before it happens a real problem. I have:

/dev/md4 (sda5+sdb5), ~5GB size, used for /var, nearly empty
/dev/md5 (sda6+sdb6), ~5GB size, used for /usr, nearly full (90%)
And I have /backup on separate partition (hda1), big enough

What I think of is this procedure: First I copy /var and /usr:
cp -a /var /backup
cp -a /usr /backup

Then I intend to reboot with install-cd, repartition sda/sdb
(make sda5/sdb5 smaller and sda6/sdb6 bigger), create new
/dev/md4 and /dev/md5, mount them, and copy the content back.

cp -a /mnt/gentoo/backup/var /mnt/gentoo/var
cp -a /mnt/gentoo/backup/usr /mnt/gentoo/usr

Is it a correct procedure? All partitions are ext3 type, no lvm2,
moreover on /dev/md so I can not extend/shrink them while using...

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2009-03-23 12:44 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-21 18:05 [gentoo-user] extending /usr partition Jarry
2009-03-21 18:12 ` Alan McKinnon
2009-03-21 18:20   ` Dirk Heinrichs
2009-03-21 18:39   ` Jarry
2009-03-21 18:53     ` Alan McKinnon
2009-03-21 19:37     ` Daniel Troeder
2009-03-21 20:57     ` Neil Bothwick
2009-03-21 21:13       ` BRM
2009-03-21 23:39         ` Neil Bothwick
2009-03-22  2:46         ` Albert Hopkins
2009-03-22  6:36           ` [gentoo-user] " Francesco Talamona
2009-03-22  7:16             ` Philip Webb
2009-03-22  8:44             ` Alan McKinnon
2009-03-22 11:12             ` Albert Hopkins
2009-03-22 12:53               ` Francesco Talamona
2009-03-22 15:06                 ` Albert Hopkins
2009-03-22  8:42         ` [gentoo-user] " Alan McKinnon
2009-03-23 12:44           ` BRM
2009-03-22  9:32     ` Dirk Heinrichs
2009-03-22 10:59       ` Jarry
2009-03-22 11:45         ` Alan McKinnon
2009-03-22 10:37     ` Dirk Heinrichs
2009-03-22  6:39   ` [gentoo-user] " Francesco Talamona
2009-03-22  8:32     ` Alan McKinnon
2009-03-21 18:16 ` [gentoo-user] " Dirk Heinrichs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox