This all started when I decided to name the pool on my laptop "root" I didn''t think anything of it until I realized the zfs boot info ended up in my root user''s home directory... I also had a hard time doing LUs (I''m running SXCE). I decided to rename my pool by exporting it and reimporting it, which went fine. I did change the /etc/vfstab entry for swap, but I never did run dumpadm or swapon to move my dump and swap devices. Puzzled by the system panics on boot, I went back into single user mode and realized what was wrong. I noticed /dev/zvol/dsk/root and /dev/zvol/dsk/laptop directories and thought: "Hmm... wouldn''t it be smart of me to just move the old directory with all the snapshots and stuff to the new name of my zpool..." So I did: mv /dev/zvol/dsk/root /dev/zvol/dsk/laptop Then reboot. DOH!!! It booted up and had a system panic, which seemed to actually write, but then the pool got into a faulted state. Notice that I did not move the /dev/zvol/rdsk directories, I''m not sure if that is the problem or if I just needed to run dumpadm... Anyway, now I have an unbootable system with a pool that I cannot import. I get the following when I try to import it: zpool import -f laptop WARNING: can''t open objset for latop/swap cannot import ''laptop'': one or more devices is currently unavailable The pool shows "FAULTED corrupted data" when I run zpool import. Anyway, I have some snapshots I had exported to another machine a few weeks ago and I can recover, but I started to get curious about how the zfs filesystem is different from the UFS file system. I was able to pull off a lot of my work that wasn''t backed up by using the old ''strings -tx /dev/dsk/c8t0d0s0 and dd'' trick. I figure if I can just undo the directory move (rename) it might just come back up. So how are directories stored on the disk with zfs? Is it any different from zfs. I have read through the zfs ondisk format document and didn''t recognize if the structures there replaced directories or if the directories are refereneced by the fs structure. What I want to do is to try to use dd to modify the name of the /dev/zvol/dsk/laptop directory back to what it was and hope it will clear up the corrupted data flag. I have been ripping through the hard drive for hours and am having a very hard time identifying the directory doing a string search for the directory name ''laptop''. I''m starting to think that directories are structured totally differently than what I''m used to in UFS. I know that I should just restore from backup, but I''d like to hack on this some more. Does anyone have any suggestions or information about how to find and modify a directory name in ZFS? -- This message posted from opensolaris.org