[zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Rainer Orth
For quite some time I'm bitten by the fact that on my laptop (currently running self-built snv_147) zpool status rpool and format disagree about the device name of the root disk: r...@masaya 14 zpool status rpool pool: rpool state: ONLINE status: The pool is formatted using an older on-disk

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread LaoTsao 老曹
hi may be boot a livecd then export and import the zpool? regards On 8/27/2010 8:27 AM, Rainer Orth wrote: For quite some time I'm bitten by the fact that on my laptop (currently running self-built snv_147) zpool status rpool and format disagree about the device name of the root disk:

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Mark J Musante
On Fri, 27 Aug 2010, Rainer Orth wrote: zpool status thinks rpool is on c1t0d0s3, while format (and the kernel) correctly believe it's c11t0d0(s3) instead. Any suggestions? Try removing the symlinks or using 'devfsadm -C' as suggested here:

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Rainer Orth
LaoTsao 老曹 laot...@gmail.com writes: may be boot a livecd then export and import the zpool? I've already tried all sorts of contortions to regenerate /etc/path_to_inst to no avail. This is simply a case of `should not happen'. Rainer --

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Rainer Orth
Mark J Musante mark.musa...@oracle.com writes: On Fri, 27 Aug 2010, Rainer Orth wrote: zpool status thinks rpool is on c1t0d0s3, while format (and the kernel) correctly believe it's c11t0d0(s3) instead. Any suggestions? Try removing the symlinks or using 'devfsadm -C' as suggested here:

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Sean Sprague
Rainer, devfsadm -C alone didn't make a difference, but clearing out /dev/*dsk and running devfsadm -Cv did help. I am glad it helped; but removing anything from /dev/*dsk is a kludge that cannot be accepted/condoned/supported. Regards... Sean.

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Rainer Orth
Sean, I am glad it helped; but removing anything from /dev/*dsk is a kludge that cannot be accepted/condoned/supported. no doubt about this: two parts of the kernel (zfs vs. devfs?) disagreeing about devices mustn't happen. Rainer --

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Cindy Swearingen
Hi Rainer, I'm no device expert but we see this problem when firmware updates or other device/controller changes change the device ID associated with the devices in the pool. In general, ZFS can handle controller/device changes if the driver generates or fabricates device IDs. You can view

Re: [zfs-discuss] zpool status and format/kernel disagree about root disk

2010-08-27 Thread Rainer Orth
Hi Cindy, I'll investigate more next week since I'm in a hurry to leave, but one point now: I'm no device expert but we see this problem when firmware updates or other device/controller changes change the device ID associated with the devices in the pool. This is the internal disk in a