What is the best way to save my linux (open media vault / debian) install from failing disk?
-
What is the best way to save my linux (open media vault / debian) install from failing disk?
I have tried dd, but it fails with io error midway trough. Also the target disk is like 30gb smaller than source, cuz im a dingus.
Ive tried some custom OMV regen script but my inatall seems to be too cursed.
What tool should i use?
Yes i should have done this when the io issues first popped up. Yes, i should have backups
Boosts welcome
-
What is the best way to save my linux (open media vault / debian) install from failing disk?
I have tried dd, but it fails with io error midway trough. Also the target disk is like 30gb smaller than source, cuz im a dingus.
Ive tried some custom OMV regen script but my inatall seems to be too cursed.
What tool should i use?
Yes i should have done this when the io issues first popped up. Yes, i should have backups
Boosts welcome
@jonossaseuraava > target disk is like 30gb smaller than source
if it weren’t for this limitation i would have suggested ddrescue -
@jonossaseuraava > target disk is like 30gb smaller than source
if it weren’t for this limitation i would have suggested ddrescue@cell @jonossaseuraava
Can i do some readable disk image with that and then rsync stuff to the smaller disk or somehting like that? -
What is the best way to save my linux (open media vault / debian) install from failing disk?
I have tried dd, but it fails with io error midway trough. Also the target disk is like 30gb smaller than source, cuz im a dingus.
Ive tried some custom OMV regen script but my inatall seems to be too cursed.
What tool should i use?
Yes i should have done this when the io issues first popped up. Yes, i should have backups
Boosts welcome
@jonossaseuraava if you have rsynch installed, you might be able to save most of your files. Also booting from a usb and trying afio with compression might save copies of most of your files
-
@yonle
Bootable and mostly readable.Important stuff are the configs and im not sure which files those are.
-
What is the best way to save my linux (open media vault / debian) install from failing disk?
I have tried dd, but it fails with io error midway trough. Also the target disk is like 30gb smaller than source, cuz im a dingus.
Ive tried some custom OMV regen script but my inatall seems to be too cursed.
What tool should i use?
Yes i should have done this when the io issues first popped up. Yes, i should have backups
Boosts welcome
@jonossaseuraava you might be able to do something with clonezilla since it should compress on the fly and only use filled space
bonus: does not require booting to a failing OS
-
@jonossaseuraava you might be able to do something with clonezilla since it should compress on the fly and only use filled space
bonus: does not require booting to a failing OS
@fd93
Booting from the source disk isnt an issue anyways. Ive got another computer with one of those usb sata cradles.I'll give clonezilla a try.
-
@yonle
Bootable and mostly readable.Important stuff are the configs and im not sure which files those are.
@jonossaseuraava @yonle set up etckeeper with automatic push on your next install (won't rescue these configs but you'll sleep better) -
@jonossaseuraava > target disk is like 30gb smaller than source
if it weren’t for this limitation i would have suggested ddrescue@cell @jonossaseuraava Clonezilla works in this case. You can create an image that is compressed and at maximum the size of used disk space. Only limitation is, on restoration the disk has the be at least the same size as the original.
https://clonezilla.org/ -
@cell @jonossaseuraava Clonezilla works in this case. You can create an image that is compressed and at maximum the size of used disk space. Only limitation is, on restoration the disk has the be at least the same size as the original.
https://clonezilla.org/@cell @jonossaseuraava Oh also, for failing hard drives an advanced option called "rescue" has to be set, the "beginner" mode does not have it I think. -
What is the best way to save my linux (open media vault / debian) install from failing disk?
I have tried dd, but it fails with io error midway trough. Also the target disk is like 30gb smaller than source, cuz im a dingus.
Ive tried some custom OMV regen script but my inatall seems to be too cursed.
What tool should i use?
Yes i should have done this when the io issues first popped up. Yes, i should have backups
Boosts welcome
I would say rwsd and try (g)ddrescue
Its like dd but first safes the good sectors and later tries multiple times the bad ones...
It will probably try to do a full bir backup of the drive so try to get hand on another drive which can handle all stuff on the source Drive.
If the source drive has multiple partitions, try to safe them one by one.
Good luck.
-
What is the best way to save my linux (open media vault / debian) install from failing disk?
I have tried dd, but it fails with io error midway trough. Also the target disk is like 30gb smaller than source, cuz im a dingus.
Ive tried some custom OMV regen script but my inatall seems to be too cursed.
What tool should i use?
Yes i should have done this when the io issues first popped up. Yes, i should have backups
Boosts welcome
@jonossaseuraava does data partition can be found and mounted? Sounds pretty dire
-
@jonossaseuraava does data partition can be found and mounted? Sounds pretty dire
@peteriskrisjanis
Yeah it can be found. Reading works most of the time - until a bad sector is hit or something. -
@yonle
If i knew enough to be spesific i wouldnt be asking for help
-
@cell @jonossaseuraava Oh also, for failing hard drives an advanced option called "rescue" has to be set, the "beginner" mode does not have it I think.
@phnt
Too bad the target disk is smaller. -
@phnt
Too bad the target disk is smaller.@jonossaseuraava Then you would have to make the partition smaller prior to the backup with something like gparted, but that is risky on failing disks and might involve reading and writing large amounts of data to the disk.
Do you have some intermediary disk where you could do this after making a backup first and restoring it to the intermediary before going on the target? -
@jonossaseuraava Then you would have to make the partition smaller prior to the backup with something like gparted, but that is risky on failing disks and might involve reading and writing large amounts of data to the disk.
Do you have some intermediary disk where you could do this after making a backup first and restoring it to the intermediary before going on the target?@jonossaseuraava
>Do you have some intermediary disk where you could do this after making a backup first and restoring it to the intermediary before going on the target?
You could technically do this in a VM since VM disks are usually only as big as the data used itself, but that is getting into voodoo territory. -
@jonossaseuraava @yonle set up etckeeper with automatic push on your next install (won't rescue these configs but you'll sleep better)
-
What is the best way to save my linux (open media vault / debian) install from failing disk?
I have tried dd, but it fails with io error midway trough. Also the target disk is like 30gb smaller than source, cuz im a dingus.
Ive tried some custom OMV regen script but my inatall seems to be too cursed.
What tool should i use?
Yes i should have done this when the io issues first popped up. Yes, i should have backups
Boosts welcome
@jonossaseuraava if dd doesnt work, the hdd is broken. Which filesystem is on the broken disk? btrfs? ext4?
-
@jonossaseuraava if dd doesnt work, the hdd is broken. Which filesystem is on the broken disk? btrfs? ext4?