Re: redimensioning /usr
From: Abdullah Ramazanoglu (ar018_at_yahoo.cöm)
Date: 07/08/04
- Next message: David A. Karr: "How can I troubleshoot a memory stick on Linux?"
- Previous message: Al Hayes: "Re: "pon" fails and gives "ttyS overrun" in syslog"
- In reply to: Abdullah Ramazanoglu: "Re: redimensioning /usr"
- Next in thread: Philip Dodd: "Re: redimensioning /usr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 08 Jul 2004 03:10:18 +0300
Abdullah Ramazanoglu wrote:
[snip]
> # swapoff -a
> # umount /usr
> # fdisk (or cfdisk) :
> Take note of exactly on which CHS /usr starts at.
> Delete swap partition
> Delete /usr partititon
> Recreate /usr partition with exactly the same starting CHS
> Recreate swap partition
For the new partition layout be recognized by the kernel you may
need to reboot (into single user) at this point. Your /usr will be
mounted (as a small filesystem in a larger partition) but swap wont
work upon reboot. So after reboot you should again do:
# umount /usr
No need for "swapoff -a" as it shouldn't be working in the first
place.
> # resize2fs -p /dev/hdxx (the /usr partition)
> # mkswap -c /dev/hdyy (swap partition)
> # swapon -a
> # mount /usr
-- Abdullah | aramazan@ | Ramazanoglu | myrealbox | ________________| D O T cöm |
- Next message: David A. Karr: "How can I troubleshoot a memory stick on Linux?"
- Previous message: Al Hayes: "Re: "pon" fails and gives "ttyS overrun" in syslog"
- In reply to: Abdullah Ramazanoglu: "Re: redimensioning /usr"
- Next in thread: Philip Dodd: "Re: redimensioning /usr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|