Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-25 Thread Ray Arachelian
On 07/25/2012 02:45 AM, Jim Klimov wrote: > > If your pool gets imported upon system startup, and can't be > exported nor accessed, Ray might want to remove the zfs-pool > reference file /etc/zfs/zpool.cache, so only rpool gets imported > upon boot. Then, to prevent adding the problematic pool from

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread Jim Klimov
2012-07-25 1:48, Richard Elling wrote: How do I backup/restore zfs labels? Your zfs labels are ok, otherwise you could not import the pool. -- richard The idea was to enable him to try TXG rollbacks, and if things become even worse (by some definition), i.e. if he rolls back too far, then h

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread Richard Elling
On Jul 24, 2012, at 2:04 PM, Ray Arachelian wrote: > On 07/24/2012 02:41 PM, Jim Klimov wrote: >> >> Did you try to "zpool import -o readonly=on" and using TXG rollback? > Can't do that now, the pool is actually imported, and it won't let me > export it, nor offline it. > >> If your drives wrote

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread Ray Arachelian
On 07/24/2012 02:41 PM, Jim Klimov wrote: > > Did you try to "zpool import -o readonly=on" and using TXG rollback? Can't do that now, the pool is actually imported, and it won't let me export it, nor offline it. > If your drives wrote crap during disconnection, it is possible that > some previous

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread Jim Klimov
2012-07-24 18:54, Ray Arachelian пишет: The theory of zfs is nice and all that, but it's completely useless in helping me recover the data off this drive -- is there anything that can be done to at least allow me to mount the data read only? Or mark the metadata about the zpool such that it thi

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread Ray Arachelian
On 07/24/2012 11:13 AM, Michael Stapleton wrote: > Not to be argumentative, but UFS would be toast if you lost the > superblock and did not know the location of any backup superblocks. FYI, you can use newfs -S for this (as long as you didn't modify the parameters, or at least if you remembered th

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread Michael Stapleton
Not to be argumentative, but UFS would be toast if you lost the superblock and did not know the location of any backup superblocks. The official answer would be to recover from backup. Sounds to me that what you need is a data recovery program. Maybe Solaris 11 could mount your pool? Mike On

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread Ray Arachelian
On 07/24/2012 07:46 AM, James Carlson wrote: > Ray Arachelian wrote: >> I think it's high time we get an fsck.zfs tool. While attempting to > I think there might be a misunderstanding here. Please read through the > original PSARC materials for ZFS, particularly the 1-pager: > > http://arc.openso

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-24 Thread James Carlson
Ray Arachelian wrote: > I think it's high time we get an fsck.zfs tool. While attempting to I think there might be a misunderstanding here. Please read through the original PSARC materials for ZFS, particularly the 1-pager: http://arc.opensolaris.org/caselog/PSARC/2002/240/onepager.opensolaris

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Jim Klimov
2012-07-23 19:28, Ray Arachelian wrote: I do have another machine that I could use for this that has 32G of RAM, but the latest OI ISO won't properly start up - stays in text mode, I believe it doesn't like the video card in there, and unfortunately it gives a login prompt, and I don't know what

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Jan Owoc
On Mon, Jul 23, 2012 at 10:03 AM, Ray Arachelian wrote: > I do want to upgrade from the current motherboard to something newer > since it's got a 4G limit. I do have some left over DDR3 DIMMs, so I'd > be looking for a new mobo/CPU that would work with DDR3 and have loads > of SATA, PCI/PCIe slot

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Ray Arachelian
On 07/23/2012 11:39 AM, Bob Friesenhahn wrote: > > This is looking more and more like a USB driver or a USB hub problem. > Since multiple devices are impacted at once, I suspect a USB hub > problem. The USB hub might be some external hardware you are using, > or embedded on the motherboard. Make

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Bob Friesenhahn
On Mon, 23 Jul 2012, Ray Arachelian wrote: I guess I am/was expecting zfs to be a bit less brittle, and not corrupt data while the drives experience I/O disconnects while scrubbing - CoW should have prevented this kind of problem, no? Zfs needs properly working RAM and properly working disk ca

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Ray Arachelian
On 07/23/2012 10:19 AM, Bob Friesenhahn wrote: > On Mon, 23 Jul 2012, Ray Arachelian wrote: >> >> I suspect the issue is that since this is a USB enclosure that at some >> point the bus was saturated and wouldn't respond, or something like >> that. >> Any help in getting these volumes mounted would

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Ray Arachelian
On 07/23/2012 09:01 AM, Lucas Van Tol wrote: > Maybe the disks are faild by fmd? It will often prevent a system from using > disks it thinks have failed; even if its a new disk in the same slot. Check > with 'fmadm faulty' anc see if you can convince fmd they are > repaired/replaced/acquitte

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Bob Friesenhahn
On Mon, 23 Jul 2012, Ray Arachelian wrote: I suspect the issue is that since this is a USB enclosure that at some point the bus was saturated and wouldn't respond, or something like that. Any help in getting these volumes mounted would be greatly appreciated. Yes, I know, I'm running on crappy

Re: [OpenIndiana-discuss] in desperate need of fsck.zfs

2012-07-23 Thread Lucas Van Tol
Maybe the disks are faild by fmd? It will often prevent a system from using disks it thinks have failed; even if its a new disk in the same slot. Check with 'fmadm faulty' anc see if you can convince fmd they are repaired/replaced/acquitted. That may make them visible to the pool again, a