Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 14:24:35 +0200
From:      jonas <jonas.bulow@servicefactory.se>
To:        freebsd-questions@freebsd.org
Subject:   help with growfs on 4.3-STABLE
Message-ID:  <3B582303.1375517C@servicefactory.se>

next in thread | raw e-mail | index | archive | help
Hi,

When I was young and stupid ( :-) ) I partitioned my hard drive as:

Offset       Size(ST)        End     Name  PType       Desc  Subtype   
Flags

         0         63         62        -      6     unused       
0          
        63    4188177    4188239    ad0s1      2        fat        6
   4188240    1043280    5231519    ad0s2      3    freebsd      165   
C
   5231520    8179920   13411439    ad0s3      4   extended        5
  13411440    8179920   21591359    ad0s4      3    freebsd      165
  21591360    1980720   23572079        -      6     unused        0

What I didn't know at that time was that I could only have four
partitions.

The problem: 

I would like to extend ad0s4 to use all the space availble on the disk.
Then I would like to use growfs to grow the filesystem on that partition
( /usr ) to use the newly created space in the partition.

Is that possible?

Last time I tried to change the partition size I ended up with the ad0s4
unreadable. I managed to restore it by restoring the original valus in
the partition table.

So, the question is: 

How do I resize a partition without loosing it? 

The use of growfs seems quite simple after that initial problem is
solved.

regards,
	jonas

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B582303.1375517C>