Re: [zfs-discuss] recover data after zpool create
Carson, please provide an example how to read bytes. I talk about cylinder because I don't know better. I need to read from a partition which shows as /dev/hda3 under Gparted with starting sector ending sector z. under solaris I think it becomes /dev/dsk/c0d0p3 I tried dd if=/dev/dsk/c0d0p3 ibs=256 hoping to read the first 256 bytes but it started streaming everything and beeping non-stop. even ^C could not stop the beeping. Thank you Stephen -- 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] recover data after zpool create
Kees, can you provide an example of how to read from dd cylinder by cylinder? also if a file is fragmented is there a marker at the end of the first piece telling where is the second? Thank you stephen -- 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] recover data after zpool create
None of the file recovery tools work with zfs. Testdisk is most advanced and the author is looking at incorporating zfs, but when will it happen nobody knows. I want to try with dd. Can anybody give me an example of how to read bytes cylinder by cylinder? Filtering the output is easy and I will gladly share a small Java utility that calls dd or whatever is suitable for raw disk access and dumps recognized text. -- 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] recover data after zpool create
Thank you ! This is exactly what I was looking for and although this is zfs (not a Windows FAT) the time it takes to create a new pool (instantaneous) means all data is still there and only the table of contents was maybe erased. as unix directories are files, I suspect even the old structure may be available. it just created a new file for the new pool. will read the zfs docs and report in this thread what I find out. -- 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] recover data after zpool create
Kees, is it possible to get at least the contents of /export/home ? that is supposedly a separate file system. is there a way to look for files using some low level disk reading tool. If you are old enough to remember the 80s there was stuff like PCTools that could read anywhere on the disk. I need some text files, which should be easy to recover. Are there any rules on how zfs structures itself? masybe the old file allocation table still exists and just needs to be restored. thank you very much Stephen -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] recover data after zpool create
is it possible to recover a file system that existed prior to zpool create pool2 device I had a mirror on device which I detached and then issued the create command hoping it would give me my old file system. thank you all. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] power disruption
I was in the process of installing a new disk. zpool attach -f rpool old new then I was supposed to do installgrub stage1 stage2 new but I went away and there had been a power disruption and now the BE will not load at all. I have an older be which works (2008.11 and knows nothing about the new disk) is there a way to fix things? i cannot unmount the current/old BE while it is active. thanks everybody. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss