bug-parted
[Top][All Lists]
Advanced

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

Resize error on a hfs+ filesystem partition


From: Trevor Fancher
Subject: Resize error on a hfs+ filesystem partition
Date: Sun, 5 Mar 2006 10:43:46 -0600

Hello bug-parted subscribers!

I am having some problems with resizing a partition.  The partition's
filesystem is HFS+ with journalling disabled.

I can't think any other information to give, but here is the all the
relevant output I can think of:

sh-3.00# parted --version
GNU Parted 1.6.23
sh-3.00# parted /dev/sda print unit s print unit chs print
Disk geometry for /dev/sda: 0kB - 500GB
Disk label type: mac
Number  Start   End     Size    File system  Name                  Flags
1       1kB     32kB    32kB                 Apple
3       134MB   500GB   500GB   hfs+         Untitled
Disk geometry for /dev/sda: 0s - 976773167s
Disk label type: mac
Number  Start   End     Size    File system  Name                  Flags
1       1s      63s     63s                  Apple
3       262208s 976773157s 976510950s hfs+         Untitled
Disk geometry for /dev/sda: 0,0,0 - 60801,80,62
BIOS cylinder,head,sector geometry: 60801,255,63.  Each cylinder is 8225kB.
Disk label type: mac
Number  Start       End         File system  Name                  Flags
1       0,0,1       0,1,0                    Apple
3       16,82,2     60801,80,52 hfs+         Untitled
Information: Don't forget to update /etc/fstab, if necessary.

sh-3.00# mac-fdisk -l /dev/sda # I think mac-fdisk is also called `pdisk'
/dev/sda
        #                    type name                  length   base 
    ( size )  system
/dev/sda1     Apple_partition_map Apple                     63 @ 1    
    ( 31.5k)  Partition map
/dev/sda2              Apple_Free                       262144 @ 64   
    (128.0M)  Free space
/dev/sda3               Apple_HFS Untitled           976510950 @
262208    (465.6G)  HFS
/dev/sda4              Apple_Free                           10 @
976773158 (  5.0k)  Free space

Block size=512, Number of Blocks=976773168
DeviceType=0x0, DeviceId=0x0

sh-3.00# parted /dev/sda
GNU Parted 1.6.23
Copyright (C) 1998 - 2005 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/sda
(parted) print
Disk geometry for /dev/sda: 0kB - 500GB
Disk label type: mac
Number  Start   End     Size    File system  Name                  Flags
1       1kB     32kB    32kB                 Apple
3       134MB   500GB   500GB   hfs+         Untitled
(parted) resize 3 134MB 250GB
Warning: You have an HFS+ file system that has a feature that I
haven't seen used anywhere.  Parted can theoretically handle it, but
the corresponding code has
never been tested, so this might be risky.  Please email me so I can
see how it works!  <address@hidden>
Ignore/Cancel? Ignore
Error: Can't have the end before the start!
Error: Unable to satisfy all constraints on the partition.
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.


Hopefully someone knows the answer to my problem.

Thanks,
__
Trevor Fancher
http://fancher.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]