Joel Andres Granados wrote:
Aleksey Luzin wrote:
Hello,

I've a strange behaviour of parted:
parted /dev/sdc
GNU Parted 1.8.9
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print free

^^^^^^ here you have "print free".  note the "free".

Here I see size of 1 partition.
Model: Promise  6 Disk RAID5 (scsi)
Disk /dev/sdc: 3750GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32,3kB  2199GB  2199GB  primary  ext2
        2199GB  3750GB  1551GB           Free Space

(parted) resize
Partition number? 1
Start?  [32,3kB]?
End?  [2199GB]? 3749GB
Warning: A resize operation on this file system will use EXPERIMENTAL code
that MAY CORRUPT it (although no one has reported any such damage yet).
You should at least backup your data first, and run 'e2fsck -f' afterwards.
OK/Cancel? OK
(parted)
(parted) p

^^^^^^^^^^^ here you only have "p" which means print. if you don't have the free, it will just print the used space.

Model: Promise  6 Disk RAID5 (scsi)
Disk /dev/sdc: 3750GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32,3kB  1550GB  1550GB  primary  ext2

But Here this partition is less then before:
Why?
(parted) print free
Model: Promise  6 Disk RAID5 (scsi)
Disk /dev/sdc: 3750GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      32,3kB  1550GB  1550GB  primary  ext2
       1550GB  3750GB  2200GB           Free Space



Why partition now 1550GB instead of 3750GB?
Is it possible to fix it?



_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted




_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to