Re: [zfs-discuss] How to make an extended LUN size known to ZFS and Solaris

2006-10-03 Thread Matthew Ahrens

Michael Phua - PTS wrote:

Hi,

Our customer has an Sun Fire X4100 with Solaris 10 using ZFS and a HW RAID
array (STK D280).

He has extended a LUN on the storage array and want to make this new size
known to ZFS and Solaris.

Does anyone know if this can be done and how it can be done.


Unfortunately, there's no good way to do this at the moment.

When you give ZFS the whole disk, we put a EFI label on the disk and 
make one big slice for our use.  However, when the LUN grows, that slice 
stays the same size.  ZFS needs to write a new EFI label describing the 
new size, before it can use the new space.  I've filed bug 6475340 to 
track this issue.


As a workaround, it *should* be possible to manually relabel the device 
with format(1m), but unfortunately bug 4967547 (a problem with format) 
prevents this from working correctly.


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


[zfs-discuss] How to make an extended LUN size known to ZFS and Solaris

2006-09-28 Thread Michael Phua - PTS
Hi,

Our customer has an Sun Fire X4100 with Solaris 10 using ZFS and a HW RAID
array (STK D280).

He has extended a LUN on the storage array and want to make this new size
known to ZFS and Solaris.

Does anyone know if this can be done and how it can be done.

Cheers!


Warm regards.
Michael Phua
-- 
===
  __
 /_/\
/_\\ \MICHAEL PHUA
   /_\ \\ /   SUN Microsystems - APAC PTS
  /_/ \/ / /  Block 750, [EMAIL PROTECTED] Chee
 /_/ /   \//\ #04-04 Chai Chee Road Singapore 469000
 \_\//\   / / Phone (65) 395-9546 | FAX (65) 242-7166
  \_/ / /\ /  Email: [EMAIL PROTECTED]
   \_/ \\ \   SWAN : 88546   MS: CSIN05
\_\ \\
 \_\/


===

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


Re: [zfs-discuss] How to make an extended LUN size known to ZFS and Solaris

2006-09-28 Thread James McPherson

On 9/29/06, Michael Phua - PTS [EMAIL PROTECTED] wrote:

Our customer has an Sun Fire X4100 with Solaris 10 using ZFS and a HW RAID
array (STK D280).
He has extended a LUN on the storage array and want to make this new size
known to ZFS and Solaris.
Does anyone know if this can be done and how it can be done.



Hi Michael,
the customer needs to export the pool which contains the lun, run
devfsadm, then re-import the port. That's the high level summary,
there's probably some more in the archives on really detailed specifics
but I can't recall them at the moment.

The reasoning behind the sequence of operations is that the lun's inquiry
data is read on pool import or creation, and not at any other time. At least,
that's how it is at the moment, perhaps Eric, Matt, Mark or Bill might have
some project underway to make this a bit easier.


cheers,
James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
 http://www.jmcp.homeunix.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss