[zfs-discuss] Mac OS X and read/write ZFS
> developer's preview enables full read/write capability, including > the creation/destruction of ZFS pools and filesystems. http://forums.macrumors.com/showthread.php?t=364652 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] X4500 device disconnect problem persists
After applying 125205-07 on two X4500 machines running Sol10U4 and removing "set sata:sata_func_enable = 0x5" from /etc/system to re-enable NCQ, I am again observing drive disconnect error messages. This in spite of the patch description which claims multiple fixes in this area: 6587133 repeated DMA command timeouts and device resets on x4500 6538627 x4500 message logs contain multiple device disk resets but nothing logged in FMA 6564956 "Disparity error" for marvell88sx3 was shown during boot-time for example, Has anyone else had any better luck with this? Thanks. Oct 26 16:25:34 thumper2 marvell88sx: [ID 670675 kern.info] NOTICE: marvell88sx3: device on port 1 reset: no matching NCQ I/O found Oct 26 16:25:34 thumper2 marvell88sx: [ID 670675 kern.info] NOTICE: marvell88sx3: device on port 1 reset: device disconnected or device error Oct 26 16:25:34 thumper2 sata: [ID 801593 kern.notice] NOTICE: /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci11ab,[EMAIL PROTECTED]: Oct 26 16:25:34 thumper2 port 1: device reset Oct 26 16:25:34 thumper2 sata: [ID 801593 kern.notice] NOTICE: /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci11ab,[EMAIL PROTECTED]: Oct 26 16:25:34 thumper2 port 1: link lost Oct 26 16:25:34 thumper2 sata: [ID 801593 kern.notice] NOTICE: /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci11ab,[EMAIL PROTECTED]: Oct 26 16:25:34 thumper2 port 1: link established Oct 26 16:25:34 thumper2 marvell88sx: [ID 812950 kern.warning] WARNING: marvell88sx3: error on port 1: Oct 26 16:25:34 thumper2 marvell88sx: [ID 517869 kern.info] device disconnected Oct 26 16:25:34 thumper2 marvell88sx: [ID 517869 kern.info] device connected Oct 26 16:25:34 thumper2 scsi: [ID 107833 kern.warning] WARNING: /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci11ab,[EMAIL PROTECTED]/[EMAIL PROTECTED],0 (sd25): Oct 26 16:25:34 thumper2Error for Command: read(10) Error Level: Retryable Oct 26 16:25:34 thumper2 scsi: [ID 107833 kern.notice] Requested Block: 521002402 Error Block: 521002402 Oct 26 16:25:34 thumper2 scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: Oct 26 16:25:34 thumper2 scsi: [ID 107833 kern.notice] Sense Key: No Additional Sense Oct 26 16:25:34 thumper2 scsi: [ID 107833 kern.notice] ASC: 0x0 (no additional sense info), ASCQ: 0x0, FRU: 0x0 -- Stuart Anderson [EMAIL PROTECTED] http://www.ligo.caltech.edu/~anderson ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] NFS: Cannot share a zfs dataset added to a labeled zone
Is it possible to share a zfs dataset that has been added to a labeled zone? We are running Solaris 10 U4 w/ TX on x86. Currently, we have a zfs file system named zone/restricted. We have a labeled zone named “restricted” loaded to this zfs. The global path is /zone/restricted. We have another zfs file system named zone/data that we want to add as a dataset to the “restricted” zone. The original global path of this zfs file system is /zone/data. The zone path for the zfs dataset after it has been added to the “restricted” zone is /zone/restricted/root/zone/data. We would like to share the data in the zone/data zfs with “restricted” labeled zones on other systems in my network. We have successfully shared a directory created in the “restricted” zone using /zone/restricted/etc/dfs/dfstab, but have been unable to share the zfs dataset /zone/data. We chose to use a zfs dataset instead of just creating a directory in the zone, because it is a large amount of data with new versions released regularly. With each release the zfs can be destroyed and restored from a snapshot containing the new data very quickly. There is an error during boot up of the zone stating the dataset is busy and cannot be mounted. This causes several services to fail and prevents opening a terminal or console window. Is it possible to share a dataset that has been added to a labeled zone? This is a major piece of our configuration and any help with this issue would be greatly appreciated. I know this might sound confusing, so I listed some paths and dfstab file below to help clarify. Thanks [u]zpool[/u] zone [u]zfs file systems[/u] zone/restricted zone/data [u]zone path after dataset added to zone[/u] /zone/restricted/root/zone/data [u]contents of /zone/restricted/etc/dfs/dfstab[/u] share -F nfs -o rw /zone/data This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Parallel zfs destroy results in No more processes
> Do you have sata Native Command Queuing enabled? I've experienced delays of > just under one minute when NCQ is enabled, that do not occur when NCQ is > disabled. If all threads comprising the parallel zfs destroy hang for a > minute, I bet its the hang that causes "no more processes". I have opened a > trouble ticket on this issue, and am waiting for feedback. In the mean time, > I've disabled NCQ by adding the line below to /etc/system (and rebooting). > >set sata:sata_func_enable = 0x5 Not on this system. It is not clear to me how these timeout/disconnected problems would cause a call to fork() to fail but I can give that a try the next time I need to delete that much data. However, we have disabled NCQ through this mechanism on another system that was locking up ~1/week with several device disconnected messgaes. That system has been up for 2 weeks after disabling NCQ and has not displayed any disconnected messages since then. Can anyone confirm that that 125205-07 has solved these NCQ problems? Thanks. -- Stuart Anderson [EMAIL PROTECTED] http://www.ligo.caltech.edu/~anderson ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] data error in dataset 0. what's that?
On Oct 26, 2007, at 3:21 AM, Matt Buckland wrote: > Hi forum, > > I did something stupid the other day, managed to connect an > external disk that was part of zpool A such that it appeared in > zpool B. I realised as soon as I had done zpool status that zpool B > should not have been online, but it was. I immediately switched off > the machine, booted without that disk connected and destroyed zpool > B. I managed to get zpool A back and all of my data appears to be > there, but I have a data error which I am unable to track. > Apparently it is: > > DATASET 0, OBJECT a, RANGE lvl=0 blkid=0 this was from 'zpool status -v', right? > > I have found this line from output of zdb: > > Dataset mos [META], ID 0, cr_txg 4, last_txg 1759562, 406M, 362 > objects > > Is anyone able to shed any light on where this error might be and > what I might be able to do about it? I do not have a backup of this > data so restoring is not an option. > > Any advice appreciated. So in general,if you can upgrade to more recent bits, then ZFS will happily just tell you what file that is, see: http://blogs.sun.com/erickustarz/entry/damaged_files_and_zpool_status If you cannot upgrade, then see: http://www.opensolaris.org/jive/thread.jspa?messageID=39450&tstart=0 But in your case, you've corrupted a piece of the metadata (object 0xa of the MOS). You can run 'zdb -dv ' to figure out what you've corrupted. For example: fsh-hake# zdb -dv d Dataset mos [META], ID 0, cr_txg 4, 120K, 34 objects Object lvl iblk dblk lsize asize type 0116K16K32K 12.0K DMU dnode 1116K512512 1.50K object directory 2116K512512 0 DSL directory 3116K512512 1.50K DSL props 4116K512512 1.50K DSL directory child map 5116K512512 0 DSL dataset 6116K512512 1.50K DSL dataset snap map 7116K 128K 128K 0 bplist 8116K512512 0 DSL directory 9116K512512 1.50K DSL props 10116K512512 1.50K DSL directory child map 11116K16K16K 4.50K packed nvlist 12116K16K16K 48.0K bplist (Z=uncompressed) 13116K 128K 128K 15.0K SPA history ... Object 0xa would be the " DSL directory child map" object on my pool. As you can guess, corrupting a core piece of metadata is a bad place to be. Your mileage may vary... If you can still access all your data, the best may be to copy the data (or send/recv) to a backup, destroy & re-create the pool. eric ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly ZFS
'Connect to iSCSI' is also missing from the final build 9A58. They might enable it later or maybe there is some undocumented preference settings to enable it. strings * |grep -i iscsi iSCSIConfigurationMenuItem iSCSIController configureiSCSI: Also a lot the NIB files also have mention of iSCSI. On 26/10/2007, at 11:31 PM, Scott Laird wrote: > My copy hasn't arrived yet, but look in the file menu in Disk Utility. > > http://thinksecret.com/archives/leopard9a377a/source/25.html > > > Scott > > On 10/26/07, Andy Lubel <[EMAIL PROTECTED]> wrote: Yeah im pumped > about this new release today.. such harmony in my > storage to be had. now if OSX only had a native iscsi target/ > initiator! > > > -Andy Lubel > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Peter > Woodman > Sent: Friday, October 26, 2007 8:14 AM > To: Kugutsumen > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a > readonly > ZFS > > it would seem that the reason that it's been pulled is that it's > installed by default in the release version (9A581) - just tested it > here, and willikers, it works! > > On 10/26/07, Kugutsumen <[EMAIL PROTECTED]> wrote: > > # zfs list > > ZFS Readonly implemntation is loaded! > > To download the full ZFS read/write kext with all functionality > > enabled, please go to http://developer.apple.com no datasets > available > > > > Unfortunately, I can't find it on ADC yet and it seems that it was > removed by Apple: > > > > "Another turn in the Apple-ZFS saga. Apple has made available a > developer preview of ZFS for Mac OS X with read/write capability. The > preview is available to all ADC members. From the readme file: "ZFS > is a > new filesystem from Sun Microsystems which has been ported by Apple to > Mac OS X. The initial (10.5.0) release of Leopard will restrict ZFS to > read-only, so no ZFS pools or filesystems can be modified or created. > This Developer Preview will enable full read/write capability, which > includes the creation/destruction of ZFS pools and filesystems." > Update: > Will it ever end? The release has been pulled from ADC by Apple." > > > > I can't wait to reformat all my external 2.5 drives with zfs. > > > > > > 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 > ___ > 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 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly ZFS
My copy hasn't arrived yet, but look in the file menu in Disk Utility. http://thinksecret.com/archives/leopard9a377a/source/25.html Scott On 10/26/07, Andy Lubel <[EMAIL PROTECTED]> wrote: > > Yeah im pumped about this new release today.. such harmony in my > storage to be had. now if OSX only had a native iscsi target/initiator! > > > -Andy Lubel > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Peter Woodman > Sent: Friday, October 26, 2007 8:14 AM > To: Kugutsumen > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly > ZFS > > it would seem that the reason that it's been pulled is that it's > installed by default in the release version (9A581) - just tested it > here, and willikers, it works! > > On 10/26/07, Kugutsumen <[EMAIL PROTECTED]> wrote: > > # zfs list > > ZFS Readonly implemntation is loaded! > > To download the full ZFS read/write kext with all functionality > > enabled, please go to http://developer.apple.com no datasets available > > > > Unfortunately, I can't find it on ADC yet and it seems that it was > removed by Apple: > > > > "Another turn in the Apple-ZFS saga. Apple has made available a > developer preview of ZFS for Mac OS X with read/write capability. The > preview is available to all ADC members. From the readme file: "ZFS is a > new filesystem from Sun Microsystems which has been ported by Apple to > Mac OS X. The initial (10.5.0) release of Leopard will restrict ZFS to > read-only, so no ZFS pools or filesystems can be modified or created. > This Developer Preview will enable full read/write capability, which > includes the creation/destruction of ZFS pools and filesystems." Update: > Will it ever end? The release has been pulled from ADC by Apple." > > > > I can't wait to reformat all my external 2.5 drives with zfs. > > > > > > 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 > ___ > 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
Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly ZFS
Yeah im pumped about this new release today.. such harmony in my storage to be had. now if OSX only had a native iscsi target/initiator! -Andy Lubel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Woodman Sent: Friday, October 26, 2007 8:14 AM To: Kugutsumen Cc: zfs-discuss@opensolaris.org Subject: Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly ZFS it would seem that the reason that it's been pulled is that it's installed by default in the release version (9A581) - just tested it here, and willikers, it works! On 10/26/07, Kugutsumen <[EMAIL PROTECTED]> wrote: > # zfs list > ZFS Readonly implemntation is loaded! > To download the full ZFS read/write kext with all functionality > enabled, please go to http://developer.apple.com no datasets available > > Unfortunately, I can't find it on ADC yet and it seems that it was removed by Apple: > > "Another turn in the Apple-ZFS saga. Apple has made available a developer preview of ZFS for Mac OS X with read/write capability. The preview is available to all ADC members. From the readme file: "ZFS is a new filesystem from Sun Microsystems which has been ported by Apple to Mac OS X. The initial (10.5.0) release of Leopard will restrict ZFS to read-only, so no ZFS pools or filesystems can be modified or created. This Developer Preview will enable full read/write capability, which includes the creation/destruction of ZFS pools and filesystems." Update: Will it ever end? The release has been pulled from ADC by Apple." > > I can't wait to reformat all my external 2.5 drives with zfs. > > > 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 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly ZFS
err, apologies, i'd like to retract my last comment - i failed reading comprehension. just read-only by default. On 10/26/07, Peter Woodman <[EMAIL PROTECTED]> wrote: > it would seem that the reason that it's been pulled is that it's > installed by default in the release version (9A581) - just tested it > here, and willikers, it works! > > On 10/26/07, Kugutsumen <[EMAIL PROTECTED]> wrote: > > # zfs list > > ZFS Readonly implemntation is loaded! > > To download the full ZFS read/write kext with all functionality enabled, > > please go to http://developer.apple.com > > no datasets available > > > > Unfortunately, I can't find it on ADC yet and it seems that it was removed > > by Apple: > > > > "Another turn in the Apple-ZFS saga. Apple has made available a developer > > preview of ZFS for Mac OS X with read/write capability. The preview is > > available to all ADC members. From the readme file: "ZFS is a new > > filesystem from Sun Microsystems which has been ported by Apple to Mac OS > > X. The initial (10.5.0) release of Leopard will restrict ZFS to read-only, > > so no ZFS pools or filesystems can be modified or created. This Developer > > Preview will enable full read/write capability, which includes the > > creation/destruction of ZFS pools and filesystems." Update: Will it ever > > end? The release has been pulled from ADC by Apple." > > > > I can't wait to reformat all my external 2.5 drives with zfs. > > > > > > 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
Re: [zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly ZFS
it would seem that the reason that it's been pulled is that it's installed by default in the release version (9A581) - just tested it here, and willikers, it works! On 10/26/07, Kugutsumen <[EMAIL PROTECTED]> wrote: > # zfs list > ZFS Readonly implemntation is loaded! > To download the full ZFS read/write kext with all functionality enabled, > please go to http://developer.apple.com > no datasets available > > Unfortunately, I can't find it on ADC yet and it seems that it was removed by > Apple: > > "Another turn in the Apple-ZFS saga. Apple has made available a developer > preview of ZFS for Mac OS X with read/write capability. The preview is > available to all ADC members. From the readme file: "ZFS is a new filesystem > from Sun Microsystems which has been ported by Apple to Mac OS X. The initial > (10.5.0) release of Leopard will restrict ZFS to read-only, so no ZFS pools > or filesystems can be modified or created. This Developer Preview will enable > full read/write capability, which includes the creation/destruction of ZFS > pools and filesystems." Update: Will it ever end? The release has been pulled > from ADC by Apple." > > I can't wait to reformat all my external 2.5 drives with zfs. > > > 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
[zfs-discuss] data error in dataset 0. what's that?
Hi forum, I did something stupid the other day, managed to connect an external disk that was part of zpool A such that it appeared in zpool B. I realised as soon as I had done zpool status that zpool B should not have been online, but it was. I immediately switched off the machine, booted without that disk connected and destroyed zpool B. I managed to get zpool A back and all of my data appears to be there, but I have a data error which I am unable to track. Apparently it is: DATASET 0, OBJECT a, RANGE lvl=0 blkid=0 I have found this line from output of zdb: Dataset mos [META], ID 0, cr_txg 4, last_txg 1759562, 406M, 362 objects Is anyone able to shed any light on where this error might be and what I might be able to do about it? I do not have a backup of this data so restoring is not an option. Any advice appreciated. Thanks, Matt This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Mac OS X 10.5.0 Leopard ships with a readonly ZFS
# zfs list ZFS Readonly implemntation is loaded! To download the full ZFS read/write kext with all functionality enabled, please go to http://developer.apple.com no datasets available Unfortunately, I can't find it on ADC yet and it seems that it was removed by Apple: "Another turn in the Apple-ZFS saga. Apple has made available a developer preview of ZFS for Mac OS X with read/write capability. The preview is available to all ADC members. From the readme file: "ZFS is a new filesystem from Sun Microsystems which has been ported by Apple to Mac OS X. The initial (10.5.0) release of Leopard will restrict ZFS to read-only, so no ZFS pools or filesystems can be modified or created. This Developer Preview will enable full read/write capability, which includes the creation/destruction of ZFS pools and filesystems." Update: Will it ever end? The release has been pulled from ADC by Apple." I can't wait to reformat all my external 2.5 drives with zfs. This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss