growfs: requested size 20GB is not larger than the current filesystem size 40GB
Код: Выделить всё
root@free01:~#gpart create -s GPT da1
da1 created
root@free01:~# gpart add -t freebsd-ufs da1
da1p1 added
root@free01:~# newfs -U /dev/da1p1
/dev/da1p1: 40960.0MB (83886000 sectors) block size 32768, fragment size 4096
using 66 cylinder groups of 626.09MB, 20035 blks, 80256 inodes.
with soft updates
super-block backups (for fsck_ffs -b #) at:
192, 1282432, 2564672, 3846912, 5129152, 6411392, 7693632, 8975872, 10258112, 11540352, 12822592,
14104832, 15387072, 16669312, 17951552, 19233792, 20516032, 21798272, 23080512, 24362752, 25644992,
26927232, 28209472, 29491712, 30773952, 32056192, 33338432, 34620672, 35902912, 37185152, 38467392,
39749632, 41031872, 42314112, 43596352, 44878592, 46160832, 47443072, 48725312, 50007552, 51289792,
52572032, 53854272, 55136512, 56418752, 57700992, 58983232, 60265472, 61547712, 62829952, 64112192,
65394432, 66676672, 67958912, 69241152, 70523392, 71805632, 73087872, 74370112, 75652352, 76934592,
78216832, 79499072, 80781312, 82063552, 83345792
root@free01:~# mount /dev/da1p1 /mnt/d1
root@free01:~# dd if=/dev/urandom of=/mnt/d1/big.tmp bs=64k count=64k
65536+0 records in
65536+0 records out
4294967296 bytes transferred in 34.522737 secs (124409815 bytes/sec)
root@free01:~# df -h /mnt/d1
Filesystem Size Used Avail Capacity Mounted on
/dev/da1p1 39G 4.0G 32G 11% /mnt/d1
root@free01:~# umount /mnt/d1
root@free01:~# growfs -s 20G /dev/da1p1
growfs: requested size 20GB is not larger than the current filesystem size 40GB