Hello,

Zfs filesystems != zpool this is your mistake I think,

Have you tried to export and import your zpool ? I 've read something like that 
on the list but not sure...

-C

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de gsorin
Envoyé : mardi 9 décembre 2008 04:17
À : zfs-discuss@opensolaris.org
Objet : [zfs-discuss] ZFS resize partitions

Hello,

I have the following issue:

I'm running solaris 10 in a vmware enviroment. I have a virtual hdd of 8gig 
(for example). At some point I can increase the hard drive to 10gig. How can I 
resize the ZFS pool to take advantage of the new available space?
The same question applies for physical machines connected to SAN or other kind 
of RAID which can increase the "hard drive" size.

The following documentation was found but without any real success:
--
http://www.sun.com/emrkt/campaign_docs/expertexchange/knowledge/solaris_zfs_perf.html
Q: Are ZFS file systems shrinkable? How about fragmentation? Any need to defrag 
them?
A: ZFS file systems can be dynamically resized; they can grow or shrink as 
needed. The allocation algorithms are such that defragmentation is not an issue.
--
Over here (http://harryd71.blogspot.com/2008/08/how-to-resize-zfs.html) we can 
see that we can "mirror" the original hard drive if we have 2 hard drives 
available, which we don't.
--
At some googling I found:
zfs set volsize=2G pool/name
but zfs get volsize command returns:
name property value source
poolname volsize - -
poolname/ROOT volsize - -
--
if I try set i get:
cannot set property for "poolname/whatever" 'volsize' does not apply to 
datasets of this type.

If i trype format -> fdisk I can see that the first (only) partition is active, 
has the same first and end cilinder and the percent is lower (80% or whatever 
value I increased the hard drive). I can create a new partition.

I also tried in format -> type but I don't have an autoconfigure option, i have 
only default and other, which don't help.

It is not mandatory to increase the size of the root (operating system) 
partition in case this is an issue, I can use another virtual disk for the 
increasing part.

Any hints are really appreciated.

Thanks.
-- 
This message posted from opensolaris.org
_______________________________________________
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

Reply via email to