Sponsored Content
Operating Systems Linux Mount reiserfs .dsk image failed: can't read superblock Post 302936505 by jalil1408 on Thursday 26th of February 2015 03:13:15 AM
Old 02-26-2015
Mount reiserfs .dsk image failed: can't read superblock

I have a failed 160 GB Western Digital Netcenter NAS disk and its image after failing in .DSK format.

When I connect the disk to my ubuntu machine and typed:

Code:
# losetup -o 512006144 /dev/loop1 /dev/sdc      
# mkdir /tmp/sdc
# mount -r -t reiserfs /dev/loop1 /tmp/sdc

I get my folders and files in the /tmp/sdc folder then I can copy some files and folders but at a very slow speed.

When I try to get them from the .dsk file with:

Code:
# losetup -o 512006144 /dev/loop2 /media/wdnas.dsk      
# mkdir /tmp/dsk
# mount -r -t reiserfs /dev/loop2 /tmp/dsk

In the mount command I got:

Code:
mount: /dev/loop2: can't read superblock

How can I fix that?

I compared the disk content and the .dsk file in a hexadecimal editor and they look the same!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

mount iso image

I would like to mount an iso CD image on my Suse linux (SLES 9), the image has been copied to my suse linux machine. am able to mount the iso image manually by mount -oloop /iso/SLES-9-i386-CD1.iso /free but I would like to put the above entry in /etc/fstab so that when the machine is rebooted,... (2 Replies)
Discussion started by: hassan1
2 Replies

2. Solaris

mount: /dev/dsk/c0t6d0s0 no such device

I've searched through unix.com and google for this issue I am having on one particular Sun E280R with installing netbackup software from CD. I know the cd is good because i installed the software on 4 other servers right before this one. This is the issue I am seeing. vold does not mount the CD... (2 Replies)
Discussion started by: dangral
2 Replies

3. UNIX for Dummies Questions & Answers

rdsk vs dsk for image drive

what is the difference between using the following commands to image a drive besides one taking 9hours and the other 15min? dd if=/dev/dsk/c0t5d0 of=/dev/dsk/c0t4d0 bs=1024k dd if=/dev/rdsk/c0t5d0 of=/dev/rdsk/c0t4d0 bs=1024k Is there reliability issues in one over the other. I have read... (3 Replies)
Discussion started by: aicjofs
3 Replies

4. Solaris

Virtual mount .image file?

Hi All, Is it possible to mount a DVD image file? I know it's possible to get some software to mount CD and DVD files on a PC I just wondered if this is possible on Solaris... Many thanks, p. (4 Replies)
Discussion started by: pondlife
4 Replies

5. AIX

Can't mount showing 0506-342 The superblock on /dev/fslv00 is dirty

Dear All Last day in Aix 5.2 server by executing # df –g I found following: Filesystem GB blocks Free %Used Iused %Iused Mounted on . . /dev/fslv00 58.00 136.70 -135% 212103 1% /sprod After shutting down by following command # shutdown –h And when... (1 Reply)
Discussion started by: xa52000
1 Replies

6. AIX

How to mount an ISO image in AIX 5.2

Hi, Could anyone let me know how to mount an ISO image in AIX 5.2 ? --SaiP (2 Replies)
Discussion started by: saip
2 Replies

7. UNIX for Advanced & Expert Users

mount unknown (linux) image

I want to buy an ereader described known among others as MDB-106 described here: ambiancetechnology . com . Because I promissed myself never to buy anything (again) that is closed I am trying to see how open it is. It states there there is Linux 2.6 inside. Also some software updates can be... (8 Replies)
Discussion started by: rocus
8 Replies

8. UNIX for Dummies Questions & Answers

Meaning of mount /dev/dsk/c... /mnt

Hi May I know the meaning of the following command mount /dev/dsk/c1t0d0s3 /mnt Will I be able to use my tape drive after that? Thanks (3 Replies)
Discussion started by: rahmantanko
3 Replies

9. Solaris

Failed to mount /usr

I recently ran the Solaris 10 upgrade 10 and everything went fine. About 2 months later after rebooting and getting ready to load the latest upgrade that came out, I am getting this error. ERROR: svc:/system/filesytem/root: default failed to mount /usr (see 'svc -x' for details) ... (6 Replies)
Discussion started by: drew_1980
6 Replies

10. Solaris

ERROR: Copy of CD image failed

Hi I tried to boot as single-user mode on my sunfire t1000 to change my root password since the guy has left the company without give us the root password. anyhow since this machine not have attached with cd/dvd/usb so the only think that to do it through Jumpstart now i tried to... (8 Replies)
Discussion started by: jmishal
8 Replies
RESIZE_REISERFS(8)					      System Manager's Manual						RESIZE_REISERFS(8)

NAME
resize_reiserfs - resizer tool for the ReiserFS filesystem SYNOPSIS
resize_reiserfs [ -s [+|-]size[K|M|G] ] [ -j dev ] [ -fqv ] device DESCRIPTION
The resize_reiserfs tool resizes an unmounted reiserfs file system. It enlarges or shrinks an reiserfs file system located on a device so that it will have size bytes or size=old_size +(-) size bytes if the + or - prefix is used. If the -s option is not specified, the filesystem will be resized to fill the given device. The size parameter may have one of the optional modifiers K, M, G, which means the size parameter is given in kilo-, mega-, gigabytes respectively. The resize_reiserfs program does not manipulate the size of the device. If you wish to enlarge a filesystem, you must make sure you expand the underlying device first. This can be done using cfdisk(8) for partitions, by deleting the partition and recreating it with a larger size (assuming there is free space after the partition in question). Make sure you re-create it with the same starting disk cylinder as before! Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem. The resize_reiserfs program allows to grow a reiserfs on-line if there is a free space on block device. If you wish to shrink a reiserfs partition, first use resize_reiserfs to shrink the file system. You may then use cfdisk(8) to shrink the device. When shrinking the size of the device, make sure you do not make it smaller than the reduced size of the reiserfs filesystem. OPTIONS
-s [+|-]size Set the new size in bytes. -j dev Set the journal device name. -f Force, do not perform checks. -q Do not print anything but error messages. -v Turn on extra progress status messages (default). RETURN VALUES
0 Resizing successful. -1 Resizing not successful. EXAMPLES
The following example shows how to test resize_reiserfs. Suppose 2Gb reiserfs filesystem is created on the device /dev/hda8 and is mounted on /mnt. For shrinking the device we need to unmount it first, then run resize_reiserfs with a size parameter (in this case -1Gb): df umount /mnt resize_reiserfs -s -1G /dev/hda8 mount /dev/hda8 /mnt df /mnt AUTHOR
This version of resize_reiserfs has been written by Alexander Zarochentcev <zam@namesys.com>. BUGS
Please report bugs to the ReiserFS developers <reiserfs-dev@namesys.com>, providing as much information as possible--your hardware, kernel, patches, settings, all printed messages; check the syslog file for any related information. SEE ALSO
cfdisk(8), reiserfsck(8), debugreiserfs(8) Reiserfsprogs-3.6.21 January 2009 RESIZE_REISERFS(8)
All times are GMT -4. The time now is 10:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy