openzfsonwindows / ZFSin

OpenZFS on Windows port
https://openzfsonwindows.org
1.2k stars 68 forks source link

ZFS on windows #344

Open roopa01 opened 2 years ago

roopa01 commented 2 years ago

Hello,

I am working on  ZFS file system.First of all i worked on linux.

In linux zdb is used to decompress metadata to get zpool information and stored data.I am able to read all information of zpool in case of linux.But in case of window there are no zdb to get information.On windows i am using a secondary hard drive containing zpool.Now i am not able to decompress metadata blocks like MOS , Object directory, master node etc.These all block are in compressed form in zpool.I want to read these information by decompressing data.I dont want to use any recovery tool like UFS recovery or Reclaime.I want to do this manually like i have done in linux.Is there any option to do this? Is there any utility on windows like zdb on linux.

I checked this also https://github.com/openzfsonwindows/ZFSin but it is required VM to build this on windows. What will be the benefit after building this on windows. Please help me.

Regards, roopa saini

lundman commented 2 years ago

The installer ships:

zpool.exe
zfs.exe
zdb.exe
zstreamdump.exe
kstat.exe

But this is all quite new, it might have bugs

roopa01 commented 2 years ago

The installer ships:

zpool.exe
zfs.exe
zdb.exe
zstreamdump.exe
kstat.exe

But this is all quite new, it might have bugs

Hi,

 could you provide me any link to get given exes. Is it available for windows platform.

I have this type of compressed data block(compressed with lz4).

0000008DA20A1102030000000120000100120407003000003C05000F02000F13022300134408000610001110120004100031740080100081FF0001000F070A810D000F020000131A1400132E0800F510878065AD8F0000005A1A8EA5A24A00007C169306B4E3150052B54CA0D7FEB8AF000F0200FFE61F01F901FFE60F0200FFFFFFFFFFFFFFFFFFFFFF3A5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

thanks