[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ext2 on RH7.1



On Wed, 24 Oct 2001 12:26:39 -0400 (EDT) cgalpin lighthouse-software com
imparted to us:
> 
> 
> On Wed, 24 Oct 2001, ABrady wrote:
> 
> > 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.
> 
> I missed the start of this thread, but if she just wants to get more
> space, she doesn't have to change here current swap.
> 
> Just run fdisk and create a new partition (sda6) that starts at block
> 74
> and goes af far as she likes (up to block 1106). She can make several
> partitions in that space, each of which can be used to extend you
> current
> '/' space.
> 
> hth
> charles

I wasn't advocating the elimination of swap, the creation of new swap or
the relocation of old swap. I was advocating the "safe" creation of new
partitions by umounting the ones already existent. Can new ones be made
without doing the umount? Sure. But it's safer on a disk with nothing
mounted. It's also much easier to safely make and mount new partitions
to replace existing directories (I'm guessing that will be the next
step) while in single user mode. That was my point.
-- 
Failure is not an option. It comes bundled with your Microsoft product.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]