ralf.prengel at comline.de
2020-Aug-26 13:48 UTC
[CentOS] DVR recorder how to resucue files
Ralf Prengel <ralf.prengel at rprengel.de> wrote:> I made a backup using dd without any problems but how can I mount > this image. > Normal loop options don't work.Too little information. Tell us what you tried (the exact command) and what happened (any error message). Ok, sorry. Our recoder device that stores all videos of several cameras doesn t work any longer. Before doing anything on the the device or the disk I made a full backup oft he disk with dd. Trying to mount this file simple with mount -o loop save.dd /mnt/backup fails. I found out that VDR are using non-standard disk-configurations and filesystems. So my question if there is a way to get access the files in the image. Tools like parted don t show partions in the bckup-file. Thanks Ralf Ralf Prengel Teamleiter Customer Care Comline AG Hauert 8 D-44227 Dortmund/Germany Telefon:+49 231 97575 157 Mobil:+49 151 10831 157 Fax:+49 231 97575 257 E-Mail:ralf.prengel at comline.de www.comline.de Vorstand: Stephan Schilling Aufsichtsratsvorsitzender: N.N. HR Dortmund B 14570 USt.-ID-Nr. DE124727422
ralf.prengel at comline.de wrote:> Trying to mount this file simple with mount -o loop save.dd > /mnt/backup fails. > I found out that VDR are using non-standard disk-configurations and > filesystems.If this were a normal DVD, you'd have to specify the file system: mount -t iso9660 -o loop save.dd /mnt/backup But you say the DVD uses a non-standard file system, so this may not work.> Tools like parted don t show partions in the bckup-fileDVDs don't have partitions, and I don't think parted would work on an image anyway. -- Yves Bellefeuille <yan at storm.ca>
On Wed, Aug 26, 2020 at 10:04:26AM -0400, Yves Bellefeuille wrote:> ralf.prengel at comline.de wrote: > > > Trying to mount this file simple with mount -o loop save.dd > > /mnt/backup fails. > > I found out that VDR are using non-standard disk-configurations and > > filesystems. > > If this were a normal DVD, you'd have to specify the file system: > > mount -t iso9660 -o loop save.dd /mnt/backup > > But you say the DVD uses a non-standard file system, so this may not > work. > > > Tools like parted don t show partions in the bckup-file > > DVDs don't have partitions, and I don't think parted would work on an > image anyway.the OP said "DVR, not "DVD". I'd try fdisk to see if there are partitions, first, then if you find anything that looks likely, try mounting that. Also, try the "disks" utility, which also may be able to tell you something about the disk. Good luck! Fred -- ------------------------------------------------------------------------------- .---- Fred Smith / ( /__ ,__. __ __ / __ : / / / / /__) / / /__) .+' Home: fredex at fcshome.stoneham.ma.us / / (__ (___ (__(_ (___ / :__ 781-438-5471 -------------------------------- Jude 1:24,25 ---------------------------------
It looks like you've backuped an entire disk that might contain partitions. So first check if you have partitions inside: sudo fdisk -lu save.dd If you have partitions inside, use the start offset of the partition to create a loopback device (e.g. a partition starts at 56): sudo losetup -o $((56*512)) /dev/loop0 save.dd Now you should be able to use the partition. First check and than mount it: sudo fsck -fv /dev/loop0 sudo mount /dev/loop0 /mnt Kind regards Thomas Am Mi., 26. Aug. 2020 um 15:49 Uhr schrieb <ralf.prengel at comline.de>:> > Ralf Prengel <ralf.prengel at rprengel.de> wrote: > > > I made a backup using dd without any problems but how can I mount > > this image. > > Normal loop options don't work. > > Too little information. Tell us what you tried (the exact command) and > what happened (any error message). > > Ok, > sorry. > Our recoder device that stores all videos of several cameras doesn t work > any longer. > Before doing anything on the the device or the disk I made a full backup > oft he disk with dd. > Trying to mount this file simple with mount -o loop save.dd /mnt/backup > fails. > I found out that VDR are using non-standard disk-configurations and > filesystems. > So my question if there is a way to get access the files in the image. > Tools like parted don t show partions in the bckup-file. > > Thanks > Ralf > > Ralf Prengel > Teamleiter > Customer Care > Comline AG > Hauert 8 > D-44227 Dortmund/Germany > > Telefon:+49 231 97575 157 > Mobil:+49 151 10831 157 > Fax:+49 231 97575 257 > E-Mail:ralf.prengel at comline.de > > www.comline.de > Vorstand: Stephan Schilling > Aufsichtsratsvorsitzender: N.N. > HR Dortmund B 14570 USt.-ID-Nr. DE124727422 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- Linux ... enjoy the ride!
ralf.prengel at comline.de
2020-Aug-27 11:07 UTC
[CentOS] DVR recorder how to resucue files
It looks like you've backuped an entire disk that might contain partitions. So first check if you have partitions inside: sudo fdisk -lu save.dd If you have partitions inside, use the start offset of the partition to create a loopback device (e.g. a partition starts at 56): sudo losetup -o $((56*512)) /dev/loop0 save.dd Now you should be able to use the partition. First check and than mount it: sudo fsck -fv /dev/loop0 sudo mount /dev/loop0 /mnt xxx Hallo, no partions are shown with dd. Found an article that some DVR vendors are using their own filesystems. I think that I ve no chane in this case to rescue anything. Thanks for all hints. Ralf Ralf Prengel Teamleiter Customer Care Comline AG Hauert 8 D-44227 Dortmund/Germany Telefon:+49 231 97575 157 Mobil:+49 151 10831 157 Fax:+49 231 97575 257 E-Mail:ralf.prengel at comline.de www.comline.de Vorstand: Stephan Schilling Aufsichtsratsvorsitzender: N.N. HR Dortmund B 14570 USt.-ID-Nr. DE124727422