Hey bsd buddies,
I'm trying to migrate freebsd to a kvm host and got the following issue. The problem I ran into is exactly the same issue which was mentioned in a thread two years ago ..
forums.freebsd.org
Error Message
My setup is just a few hours old and it was the first time I used a image to skip the install .
I installed freebsd a second time , this time with the normal old school way via an iso.
Interestingly , on this install I can't recreate the issue. The resizing just works. But I could figure out a difference , but I don't know what this means.
This is the layout of the image
This is the layout of the image installed via an iso .
It seems the setup of the image is done in another way , but I don't know how and maybe that is why I need to do other steps which aren't documented in the handbook.
Any response is appriciate !
regards , sebastian
I'm trying to migrate freebsd to a kvm host and got the following issue. The problem I ran into is exactly the same issue which was mentioned in a thread two years ago ..
Other - gpart: index '3': No space left on device
On AWS-EC2 I got running FreeBSD 12.1-RELEASE-p10. Just recently, I wanted to add a real swap partition to the virtual drive, and therefore I increased the volume size from 20 to 21 GB. This worked out well, and I executed gpart recover, in order the partition scheme reflects the new size of the...
Error Message
Code:
gpart: index '5': No space left on device as an error.
My setup is just a few hours old and it was the first time I used a image to skip the install .
I installed freebsd a second time , this time with the normal old school way via an iso.
Interestingly , on this install I can't recreate the issue. The resizing just works. But I could figure out a difference , but I don't know what this means.
This is the layout of the image
Code:
sharky@freebsd:~ $ df -hFilesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 48G 3.7G 41G 8% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/gpt/efiesp 32M 870K 31M 3% /boot/efi
sharky@freebsd:~ $ gpart show
=> 3 220267669 ada0 GPT (105G)
3 127 1 freebsd-boot (64K)
130 66584 2 efi (33M)
66714 2097152 3 freebsd-swap (1.0G)
2163866 104857598 4 freebsd-ufs (50G)
107021464 113246208 - free - (54G)
sharky@freebsd:~ $ sudo gpart add -t freebsd-zfs ada0
gpart: index '5': No space left on device
sharky@freebsd:~ $ sudo gpart add -t freebsd-zfs -s 50G ada0
gpart: index '5': No space left on device
Code:
root@freebsd:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0p2 4.6G 1.9G 2.4G 44% /
devfs 1.0K 1.0K 0B 100% /dev
root@freebsd:~ # gpart show
=> 40 10485680 ada0 GPT (5.0G)
40 1024 1 freebsd-boot (512K)
1064 9958400 2 freebsd-ufs (4.7G)
9959464 524288 3 freebsd-swap (256M)
10483752 1968 - free - (984K)
It seems the setup of the image is done in another way , but I don't know how and maybe that is why I need to do other steps which aren't documented in the handbook.
Any response is appriciate !
regards , sebastian