Vladimir Leitenberger wrote:
Hello, Experts.
I've got a problem. I'm trying to expand my main zpool (rpool), but don't know
how to do that. (i'm 100% newbie in non-windows world)
I use Osol under Vmware on Windows.
I had a pretty small vhdd -> only 12gb. Yesterday i decided to expand my virtual drive to 20gb. (After several tries to upgrade the OS to a newest dev-releases and installing some software, I had only ~ 4.8 GB free space with only one boot-environment)
So, the expansion of the vhdd was done with vmwarevdiskmanager in a minute. My
vhdd is now about 20gb, but osol didn't see , that the capacity of the disk was
increased.
How do i make new unallocated free-space on my vhdd visible/usable for osol ?!
I've olready tried to do:
zpool add -f rpool c8t0d0
but get an error:
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c8t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
I attach some logs (zfs list, zpool list and zpool status -v)
So. What should I do first?
P.S. Sorry for my English.
I'm assuming you are using a newer development release (build 117 or later)
You need to set the autoexpand property on your root pool:
# zpool set autoexpand=on rpool
More info here:
http://docs.sun.com/app/docs/doc/817-2271/githb?a=view
You may need to stop and start the OpenSolaris VM afterwards.
--
Erik Trimble
Java System Support
Mailstop: usca22-123
Phone: x17195
Santa Clara, CA
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss