[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: ext2 on RH7.1
- From: ABrady <kcsmart kc rr com>
- To: redhat-list redhat com
- Subject: Re: ext2 on RH7.1
- Date: Wed, 24 Oct 2001 10:55:27 -0500
On Wed, 24 Oct 2001 07:53:18 +0000 "Nat B." <bichesereine hotmail com>
imparted to us:
>
> [root Faon log]# fdisk /dev/sda -l
>
> Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 7 56196 83 Linux
> /dev/sda2 8 1106 8827717+ 5 Extended
> /dev/sda5 8 73 530113+ 82 Linux swap
>
> so, sda2 is an extended partition. Are there different functions to
> format
> in ext2 extended partitions?
Not clear what it is you're asking.
Right now, most of you sda drive is sitting unused. But, you have a
problem in that it has a used partition on it, plus swap. What you can
do is boot into single user mode (init 1) and umount /boot and swapoff
-a then run fdisk and create one or more partitions with the unused
space. At that time you can mkfs the new partitions, add mount points in
fsatb, remount swap and /boot, init 3 or 5 and start using the extra
space.
The only real caveat deals with how you mount the new partitions. If
they're going to be, let's say /var and /usr, you'll need to make the
partitions, make the mountpoints, move the files and mount the new
partitions while still in single user mode. Actually, you can leave the
old files where they are, mount a new partition right over the top and
test it. That's good in case you happen to screw permissions up (like I
always do) when moving files out of an existing directory to a new one.
It's always easier to go back and resuce what was there before than to
fix what you just did. (That's experience talking, there.)
--
Well, what was the ham cured OF?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]