-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zfs-windows-2.2.6-rc6 "zpool create" saved zfs partitions on other disks #403
Comments
Woah that is serious. The output of the command is probably lost, but it is hard to picture what goes wrong since it opens I'll attach 10 disks to my VM and see if I can replicate |
OK yeah, so whatever you put in, like
(I assume writes to disk10 is smaller due to being parity) Can you confirm that |
Before issuing the command, I restarted Windows so that the disk numbers would be permanently set and would not change, and I checked the numbering of each disk in two programs. I remembered that I had two blue screens. The first time, Windows did not crash (no zfs partition was written to it). I repeated the procedure then and it crashed. |
Just to clarify. I connected 3 additional disks to this system and they were numbered: 4, 9 and 10 |
They aren't in your |
No, they are not on this list. |
My problems must have been due to a bad installation, from the fact that I had some old version openzfsonwindows installed a long time ago. I installed a new version (zfswin-2.2.6rc9) now and had windows restarts and blue screens. After multiple attempts to install and uninstall, after disabling several applications, openzfsonwindows installed OK, without restarting Windows, then I uninstalled it and reinstalled it without error. I think I have a correct, clean installation now. However, I have a new problem. It does not depend on whether the disks have a GPT partition or were wiped to an uninitialized state using diskpart (clean): "cannot label 'PHYSICALDRIVE0': try using parted(8) and then provide a specific slice: -2" |
OK so you used diskpart clean, then could not label disk and got that error? Will check |
Yes, after diskpart clean was these errors too. |
Now I installed the latest version of Ubuntu in VirtualBox, then compiled and installed the latest version of ZFS (zfs-2.3.0-rc2), then connected these 3 disks to VirtualBox and Ubuntu like this: VBoxManage.exe createmedium -filename c:\VM\VB_HD_LINKS\6T.1.vmdk --variant RawDisk --format=VMDK --property RawDrive=\.\PhysicalDrive1 then in Ubuntu I created the pool: and then on Windows I have imported the pool and upgrade it: |
Great - I will still look at the diskpart issue. As for the disk IO, no idea how that works, yet. Feel free to research it, but I'll eventually get to it. If I am lucky, chatgpt already knows the answer. |
Hmm no amount of
|
I installed "zfs-windows-2.2.6-rc6" version. Unfortunately it destroyed my partitions on two other drives.
I launched:
zpool create -o autoexpand=on -o autotrim=on -O dedup=on -O casesensitivity=insensitive -O compression=on -O atime=off -o ashift=12 zzz raidz PHYSICALDRIVE4 PHYSICALDRIVE9 PHYSICALDRIVE10
Windows got a blue screen.
Windows didn't start anymore.
On another computer I saw that zfs partitions were saved on two completely different disks. The first was the Windows system disk on which I was running the command. The second was a disk with some Ubuntu. I have other disks, but they are as connected dynamic disks in Windows - they were not destroyed.
I recovered the Windows partition and Windows system using the following methods:
a) Testdisk-7.3-WIP and "testdisk_win.exe" - all partitions was recovered
b) Windows installation disk and repair mode in cmd and chkdsk /f
c) Windows installation disk and repair mode in cmd and:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
d) old version of https://sourceforge.net/projects/boot-repair-cd/
e) Once more Windows installation disk and repair mode in cmd and:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
The text was updated successfully, but these errors were encountered: