[pve-devel] Bug? Resize is not possible

Detlef Bracker bracker at 1awww.com
Tue Sep 1 11:45:11 CEST 2015


Dear,

I can doe what I will, the /vdb1 in qcow2 OR now in raw-Format has 61,4 GB
They use 512 Byte Blocks:

root at localhost:~# fdisk -l

Disk /dev/vda: 21.5 GB, 21474836480 bytes
4 heads, 32 sectors/track, 327680 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c3fb3

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1            2048    41943039    20970496   83  Linux

Disk /dev/vdb: 64.4 GB, 64424509440 bytes
4 heads, 32 sectors/track, 983040 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c3fb3

root at localhost:~# e2fsck -f /dev/vdb1
e2fsck 1.42.5 (29-Jul-2012)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
root: 31286/983040 files (0.1% non-contiguous), 277080/3932160 blocks
root at localhost:~# resize2fs /dev/vdb1 60G
resize2fs 1.42.5 (29-Jul-2012)
The containing partition (or device) is only 5242624 (4k) blocks.
You requested a new size of 15728640 blocks.

I can make a resize to 15 G, but I cant make a resize to 60 GB

Has somewhere an Idea, how can I resize better? (increase)

Thanks for help

Detlef


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20150901/f3f94834/attachment.sig>


More information about the pve-devel mailing list