Hot answers tagged

20

fsck definitely causes more harm than good if the underlying hardware is somehow damaged; bad CPU, bad RAM, a dying hard drive, disk controller gone bad... in those cases more corruption is inevitable. If in doubt, it's a good idea to just to take an image of the corrupted disk with dd_rescue or some other tool, and then see if you can successfully fix that ...


13

You have seen one example where fsck worked, but I've seen more then enough damaged file systems where it did not work successfully at all. If it would work fully automatic, you might have no chance to do things like a dd disk dump or something like that which in many cases would be an excellent idea to do before attempting a repair. It's never, ever a ...


4

You're misunderstanding the error message. It's telling you that the VHDX file must be uncompressed. You're trying to uncompress the files within the VHD. These are entirely separate things. It doesn't matter at all if the files within the VHD are compressed.


1

Shut down the VM. Mount the virtual hard drive to the host server. Uncompress the virtual hard drive. Unmount the virtual hard drive from the host server. Start the VM.


1

I have fixed this issue, but the resolution is unsatisfactory. However, I post it here incase it helps anyone else. It appears that the dataset was never successfully mounted. This is apparent from the df listing. I tried mounting the drive manually using sudo zfs mount -v zstorage/movies This for reasons I cannot discern took about 5 minutes to ...


1

You should have done a copy-paste instead of a screenshot :) Here's what it looks like: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T O disk |-sda1 8:1 0 1004.5K O part |-sda2 8:2 0 19.5G O part / |-sda3 8:3 0 1.8T O part /home \-sda4 8:4 0 15.6G O part [SWAP] sdb 8:16 0 1.8T O disk You'...


1

When using network resource file systems, and UNC paths, you should use the filesystem:: PSProvider in Powershell. Here's a couple examples: Test-Path "filesystem::\\127.0.0.1\c$" Test-Path "filesystem::\\$env:computername\c$" Adapting this process to your code should be as simple as: foreach ($server in $servers){ net use $server /USER:domain\...


1

Jake Oshins is correct. Just disable compression on the volume where you are storing your .vhd files and you are good to go.



Only top voted, non community-wiki answers of a minimum length are eligible