Leonid,

I will be integrating this functionality within the next week:

PSARC 2008/353 zpool autoexpand property
6475340 when lun expands, zfs should expand too

Unfortunately, the won't help you until they get pushed to Opensolaris. The problem you're facing is that the partition table needs to be expanded to use the newly created space. This all happens automatically with my code changes but if you want to do this you'll have to change the partition table and export/import the pool.

Your other option is to wait till these bits show up in Opensolaris.

Thanks,
George

Leonid Zamdborg wrote:
Hi,

I have a problem with expanding a zpool to reflect a change in the underlying 
hardware LUN.  I've created a zpool on top of a 3Ware hardware RAID volume, 
with a capacity of 2.7TB.  I've since added disks to the hardware volume, 
expanding the capacity of the volume to 10TB.  This change in capacity shows up 
in format:

0. c0t0d0 <AMCC-9650SE-16M DISK-4.06-10.00TB>
/p...@0,0/pci10de,3...@e/pci13c1,1...@0/s...@0,0

When I do a prtvtoc /dev/dsk/c0t0d0, I get:

* /dev/dsk/c0t0d0 partition map
*
* Dimensions:
*     512 bytes/sector
* 21484142592 sectors
* 5859311549 accessible sectors
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
* Sector Count Sector * 34 222 255
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      4    00        256 5859294943 5859295198
       8     11    00  5859295199     16384 5859311582

The new capacity, unfortunately, shows up as inaccessible.  I've tried exporting and 
importing the zpool, but the capacity is still not recognized.  I kept seeing things 
online about "Dynamic LUN Expansion", but how do I do this?

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to