Sponsored Content
Full Discussion: How to corrupt a superblock?
Operating Systems Solaris How to corrupt a superblock? Post 302171635 by sujathan on Friday 29th of February 2008 04:35:43 AM
Old 02-29-2008
How to corrupt a superblock?

The mounted device is a loopback one using lofiadm. Can dd command be used to get this condition?
Need help urgently.

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. Linux

Help! Boot failure - corrupt superblock

Hi everyone, OK, I've made a monumental fsck-up of my linux installation AND I did not backup my data properly (idiot!), so I'm really up the proverbial without a paddle here. Basically the problem is I re-sized my /home partition (hda13) using Partition Magic 8.0, after doing so my mandrake... (0 Replies)
Discussion started by: alarmcall
0 Replies

2. 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

3. UNIX for Advanced & Expert Users

Linux EXT3 superblock recovery

Is there a way to recover or rebuild the superblock of an ext3 filesystem with out loosing data? Thanks (5 Replies)
Discussion started by: lochraven
5 Replies

4. Red Hat

superblock error

can anybody help me to recovermy superblock , the recent power crash has done some stuff on my linux redhat 9 box . when i startup the machine iam getting the following error: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it... (2 Replies)
Discussion started by: ppass
2 Replies

5. HP-UX

corrupt disk

Hallo Friends, I have application X running on hpux 11.11 and oracle 9i release 2. I recently had a hardware failure on disk /dev/dsk/c2t0d0 Below is the systemlog file : root@a7dmc:/var/adm/syslog > /opt/resmon/bin/resdata -R 155713541 -r /storage/events/enclosures/gazemon/0_1_1_0.0.0... (11 Replies)
Discussion started by: kekanap
11 Replies

6. Linux

CentOS Error: Superblock

Hi Guys, I really don't know where to put my query about this. And as a newbie, I think CentOS is closest to Ubuntu. Anyway, here's my dilemma. I have installed a VMWare - ESX 3.5 and installed CentOS 6 and cloned the CentOS 6. The first CentOS was working fine, when i cloned it, and the cloning... (2 Replies)
Discussion started by: init6_
2 Replies

7. UNIX for Advanced & Expert Users

Superblock marked dirty

Good morning! I met a problem on a FS with AIX 5.3 It's not possible to mount the FS because of a dirty superblock. I tried few things without success. I need your help to solve my problem guys. Do you have any idea please? Thanks a lot drp01,/home/root # mount /GSPRES/data Replaying... (9 Replies)
Discussion started by: Castelior
9 Replies

8. Linux

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: # losetup -o 512006144 /dev/loop1 /dev/sdc # mkdir /tmp/sdc # mount -r -t reiserfs /dev/loop1 /tmp/sdc I get my folders and... (0 Replies)
Discussion started by: jalil1408
0 Replies

9. Solaris

File System Error: BAD SUPERBLOCK AT BLOCK 16: NUMBER OF DIRECTORIES OUT OF RANGE

Hi All, we are having a file system error in one of our servers. The server failed to boot in usual user mode. Instead boot with single user mode and requesting to run a FSCK manually to repair the corrupted. see the below output. Netra T2000, No Keyboard Copyright 2008 Sun Microsystems,... (5 Replies)
Discussion started by: Buddhike G
5 Replies

10. Red Hat

Linux bad superblock on /dev/mapper/VolGroup-lv_root

Hi Friends . my linux try to start very slowly after give it this error: mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_root, missing codepage or helper program, or other error in some cases useful info is found in syslog - try dmesg : tail or so Kernel panic... (3 Replies)
Discussion started by: blackjuan
3 Replies
lofi(7D)							      Devices								  lofi(7D)

NAME
lofi - Loopback file driver DESCRIPTION
The lofi file driver exports a file as a block device, enabling system utilities such as fstyp(1M), fsck(1M) and mount(1M) to operate on underlying file system images (including CD-ROM and FAT floppy images) contained on the block device. Reads and writes to the block device are translated to reads and writes on the exported file. See lofiadm(1M) for examples. File block device entries are contained in /dev/lofi. The /dev/rlofi file contains the character (or raw) device entries. Entries are in the form of decimal numbers and are assigned through lofiadm(1M). When created, these device entries are owned by root, in group sys and have permissions of 0600. Ownership, group, and permission settings can be altered, however there may be ramifications. See lofiadm(1M) for more information. lofi devices can be compressed. See lofiadm(1M) for more information. Files exported through lofi can also be encrypted. See lofiadm(1M) for details on how to specify encryption keys. FILES
/dev/lofictl Master control device /dev/lofi/n Block device for file n /dev/rlofi/n Character device for file n /kernel/drv/lofi 32-bit driver /kernel/drv/sparcv9/lofi 64-bit driver (SPARC) /kernel/drv/amd64/lofi 64-bit driver (x86) /kernel/drv/lofi.conf Driver configuration file. (Do not alter). ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |SPARC, x86 | +-----------------------------+-----------------------------+ |Availability |SUNWcsr, SUNWcarx.u | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
fstyp(1M), fsck(1M), mount(1M), lofiadm(1M), newfs(1M), attributes(5), lofs(7FS) NOTES
Just as you would not directly access a disk device that has mounted file systems, you should not access a file associated with a block device except through the lofi file driver. For compatibility purposes, a raw device is also exported with the block device. (For example, newfs(1M)). The lofi driver isn't available in a zone and will not work inside a zone. SunOS 5.11 25 Nov 2008 lofi(7D)
All times are GMT -4. The time now is 11:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy