Hi--
I can't speak to running a ZFS root pool in a VM, but the problem is
that you can't add another disk to a root pool. All the boot info needs
to be contiguous. This is a boot limitation.
I've not attempted either of these operations in a VM but you might
consider:
1. Replacing the root pool disk with a larger disk
2. Attaching a larger disk to the root pool and then detaching
the smaller disk
I like #2 best. See this section in the ZFS troubleshooting wiki:
http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide
Replacing/Relabeling the Root Pool Disk
Thanks,
Cindy
On 05/28/10 12:54, me wrote:
hello, all
I am have constraint disk space (only 8GB) while running os inside vm.
Now i want to add more. It is easy to add for vm but how can i update fs
in os?
I cannot use autoexpand because it doesn't implemented in my system:
$ uname -a
SunOS sopen 5.11 snv_111b i86pc i386 i86pc
If it was 171 it would be grate, right?
Doing following:
o added new virtual HDD (it becomes /dev/rdsk/c7d1s0)
o run format, write label
# zpool status
pool: rpool
state: ONLINE
scrub: scrub completed after 0h10m with 0 errors on Fri May 28 16:47:05
2010
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c7d0s0 ONLINE 0 0 0
errors: No known data errors
# zpool add rpool c7d1
cannot label 'c7d1': EFI labeled devices are not supported on root pools.
# prtvtoc /dev/rdsk/c7d0s0 | fmthard -s - /dev/rdsk/c7d1s0
fmthard: New volume table of contents now in place.
# zpool add rpool c7d1s0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c7d1s0 overlaps with /dev/dsk/c7d1s2
# zpool add -f rpool c7d1s0
cannot add to 'rpool': root pool can not have multiple vdevs or separate
logs
o omg, i tried all the magic command that i found at internet and in
tfm. now writing to maillist :-). Help!
--
Dmitry
------------------------------------------------------------------------
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss