Ubuntu :: Read Out Superblock Of A Filesystem?

Mar 31, 2010

How can i read out the superblock of a filesystem?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Superblock Could Not Be Read Or Does Not Describe A Correct Ext2 Filesystem

Jul 12, 2010

[URL]

This problem has arrived again.......I tried the same solution but didn't work out...the problem is described below.

I use Ubuntu 9.10 .

I did this in Ubuntu 9.10 live CD.

quote from terminal :-

ubuntu@ubuntu:~$ sudo mkdir /win
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /win
ubuntu@ubuntu:~$ sudo mkdir /vdisk
ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk

[Code]....

The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>
ubuntu@ubuntu:~$ "
> ^C
ubuntu@ubuntu:~$
^^ quote ends.

View 4 Replies View Related

Ubuntu :: How To Fix Filesystem / Superblock Error

Mar 7, 2010

Running ubuntu server (ie no gui) but suspect this might be a general problem.

With the machine booted from the hard drive, if I run fdisk -l I get an invalid partition table message code...

Unable to read the contents of this file system!
Because of this some operations may be unavailable.

How do I correct this error?

View 6 Replies View Related

General :: Tune2fs Says Couldn't Find Valid Filesystem Superblock

May 12, 2010

I'm logged into a server through the CLI and did a df -T and confirmed all my volumes are ext3. but when I do a tune2fs -l /dev/sde it tells me

tune2fs 1.39 (29-May-2006)
tune2fs: Permission denied while trying to open /dev/sde
Couldn't find valid filesystem superblock.

I don't have root access on the server, but is that why it's complaining, or is my syntax incorrect?

View 8 Replies View Related

Debian :: Can't Read Superblock - Resolve This?

Apr 11, 2010

I removed a hard drive from a failed Buffalo LinkStation NAS. The drive was 1TB and formatted in XFS. I installed Debian Linux on my Mac using Virtual Box just so I could get to the files.

When plugin the drive (via USB) two volumes show up, but there's another that I can't seem to open (and may have all of the shared files I need). It's the largest volume (over 900 MB).

I keep reading to run xfs_repair, but when I type that in the terminal, I am given "command not found". I am not sure how to use it.

Also when I try to open the volume I am given "can't open superblock" error.

I am not too familiar with using Linux and ma just trying to get to my files.

View 3 Replies View Related

Slackware :: CD Rom Not Mounting - Can't Read Superblock / Fix It?

May 10, 2010

I am newer to Slackware but not to Linux. I am having the hardest time trying to get my CDROM to mount for me so that I can play audio cd;s and the like. I can see that the system knows that my CDROM drive is there and that it works because I installed Slackware 13 from my CDROM drive as /dev/hdc. Now when I put in a cd nothing happens? I have googled away and searched this forum quite a bit before posting this but I have tried almost everything I can think of and what others have mentioned. I have screenshots to show you what I mean. When I try to run the command:
mount /dev/cdrom /mnt/cdrom
I get it as mounting as read only and it says can't read superblock? Now that is fro my slave IDE CDROM on top as hdd. I have tried before to mount it as /dev/hdc but to no avail. I know both CD drives work just fine because I used them to install the system. I am going to put the screenshots below so maybe someone can help me! Also I can eject the top CD drive with the command code...

View 3 Replies View Related

Debian :: USB Drive Corrupted - Cannot Read Superblock

Mar 16, 2011

I have a removable USB pen drive, that all of a sudden, when it got 99% used, stopped working. When I try to mount it (manually) I get "can't read superblock". I know there is a ton about this on Google and I've read a lot of them, but most seem to be about formatting a drive, or fiddling in fstab. I'm trying to run fsck on it, and it finds errors, (among them: two FAT-tables?) but then it just freezes, and CPU goes to 100 % and I let it be like that for 4 minutes, before aborting. Scandisk in windows is rubbish (fails to start), and running "chkdsk /f F:", in windows, results in nothing, the shell crashes immediately. Is it normal for fsck to get stuck and just chew up CPU? It does not seem to be reading from the drive, according to conky. Also, is it possible to run fsck as normal user, (at my work)?

View 2 Replies View Related

Ubuntu :: Error Mounting: Mount: /dev/sdd1: Can't Read Superblock

Jul 6, 2010

what does this error message mean? im trying to mount an ipod in disc mode. let me know if there is a way to manually mount it to get around this. but not too technical, the simpler the language, the easier i will understand it.

View 9 Replies View Related

CentOS 5 :: EXT3-fs : Unable To Read Superblock / Enable This?

Sep 27, 2010

I am unable to boot my server and it is erroring with the message "Kernel panic - not syncing: Attempted to kill init!". Here are the details:

I have a brand new Dell PowerEdge T110 server with Quad-Core Xeon CPU and 2GB 1333MHz RAM. I have installed a hard disk (SATA, 7.2rpm) on this machine that I removed from another Dell PowerEdge T100 server with Dual-Core Xeon CPU that was running software RAID 1.

Now when I boot the new T110 server, it displays the following error messages code...

I am running CentOs v5.5 x86-64. If I put the hard disk back into T100, it boots fine. I do not know why it is not working with T110 server.

View 6 Replies View Related

General :: External Drive Read Only - WARNING! Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage

Mar 24, 2010

I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

View 5 Replies View Related

Debian Configuration :: Bad Superblock On Ext4 Filesystem - Everytime - Computer Powered Off - Clock Resets To 1999

Jan 15, 2010

I added an ext4dev filesystem to my hard drive as /dev/sda3 and mounted at /share with the goal of putting all of my multimedia files on it and sharing it through NFS. I followed this guide: [url]

Of course, this was from lenny (hence the -dev). The partition was fine, and I mounted it numerous times. I also performed a dist-upgrade to squeeze. I shutdown that computer with the usual 'shutdown -h now' and disconnected the AC power cord from it, because I wasn't planning on using that machine for awhile. As far as I could determine, everything was fine before I unplugged it.

Every time that computer is powered off, the clock resets to 1999 because the battery is bad. So I am used to getting the "last mount time is in the future" error.

Three weeks after halting, I powered the computer back on. It was unplugged until this point. I got an error message when it attempted to mount /dev/sda3

I then removed its line from /etc/fstab, rebooted. and tried to check it, but I just keep getting the same error-- even with the '-b 8193' option.

The machine is still using the 2.6.26 kernel from lenny. I am building a new one right now (2.6.30), hoping that the problem is caused by the ext4dev/ext4 module. Otherwise I don't know what to do.

View 14 Replies View Related

General :: How To Call Read Directory From Fill SuperBlock Function

Oct 12, 2010

I want to populate an array of string by files exists in directory on mounting of file system. I got an entry point for file system mount. I can use either do_mount function or fill_superblock function. But I am not clear about how to call readdir from there itself. I need inputs for calling readdir from fill_superblock function.

View 2 Replies View Related

CentOS 5 :: EXT3-fs: Unable To Read Superblock And Kernel Panic

Aug 15, 2011

I got a CentOS server + KDE from a server (which I had no contact until now), he had 2 HD's one for the system and another for files.

I brought the HD system home to try to make it run on a virual machine (VMware) so I can do some testing before you put in practice.

But already converted the VMware HD to the system, it tries to start but it shows some errors and in a message "kernel panic - not syncing: attemped to kill init"

I think the drivers are correct, has edited the file "/ etc / modprobe.conf" edited these entries equal to another I installed CentOS on VMware.

alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptspi
ata_piix alias scsi_hostadapter2

Look at the picture attached the full error.

Link to large image
Link to large image

View 1 Replies View Related

Ubuntu :: Errors:Unable To MountError Mounting: Mount: /dev/sdb1: Can't Read Superblock?

Jun 4, 2010

I'm trying to get some data off of an external harddrive. I get a few errors:Unable to mountError mounting: mount: /dev/sdb1: can't read superblock.I then tried to run a read disk benchmark on disk utility and that seemed okay.I then tried

Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 320.1 GB, 320072933376 bytes

[code]....

View 4 Replies View Related

Server :: Mounting Drive Bad Superblock Error Wrong Fs Type, Bad Option, Bad Superblock On /dev/sda1?

Jun 16, 2010

I have a x64 OpenSUSE server with two hard drivers installed. The first one is used for the / and /home partitions and the other is for backups. Ironically enough it is the backup hard drive I am having trouble with. I was having trouble writting to the drive and unmounted it to preform a fchsk, however now when ever I try to mount it I get the following error:

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Does anyone know who I can repair the drive and retrive data?

View 1 Replies View Related

OpenSUSE Install :: Error Message Was 'bad Magic Number, Corrupt Superblock' With A Suggested Command To Try Another Superblock?

May 14, 2011

After several crashes during videos it seemed like a good idea to fsck root. Downloaded the latest systemrescuecd and ran it at boot. The error message was 'bad magic number, corrupt superblock' with a suggested command to try another superblock. That failed with the same message. Tried tune2fs to force fsck at boot and got the same message. The drive is less than 6 months old and the installed system is working more or less ok. The command I used was 'fsck.ext4 /dev/sdc2'. What am I doing wrong?

View 9 Replies View Related

Ubuntu :: Can't Load A Drive / Volume - "Unable To Mount Location Error Mounting: Mount: /dev/sda1: Can't Read Superblock"

Dec 25, 2010

I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?

View 9 Replies View Related

Ubuntu :: 11.04 - Read Only Filesystem (And Lost)

Jun 14, 2011

This is very bad even in 11.04! I have an usb disk 40 Gb. And I was loading it with data real fast (svn). At once I could no more write, Read-only file system was reported. I reckon that problem from years ago on redhat, so I try to fix it. But It became worse. It was severe damaged. I created a new filesystem while the disk was out the usb-box and directly connected to de IDE. Started all over, and the error also. Tried to repair with no luck. It looks like the journal get overrun but I'm not sure. However I do think its reproducible. I did it 3 times now and now I am very sick of it. This is happening on a updated 10:10 to 11:04 system, a few weeks ago.

View 3 Replies View Related

Ubuntu Installation :: Errno 30 - Read Only Filesystem

Mar 11, 2011

I am installing Ubuntu 9.04 Desktop on my system. using entire disk. my disk is new one. first time i installed ubuntu on it successfully, used it and installed new kernel and some upgrades. all were successful.but on installing some drivers, its files system corrupted. so I had the need to re-install the OS again. NOW , when i am installing the OS, it gives error "(Errno 30] Read only filesystem" explaining that either CD/DVD is corrupt or HDD is corrupt. temperature of the environment may be high. I changed the system , ehanged the environment, moved to some cool place, changed CD drive and CD (after making new one from ISO), changed the HDD but all useless, error is there,

while installation is in progress my sda1 is mount on /target. when i see fstab, here in the line of /dev/sda1 ,error=remount-ro is observed. sometime installation gives error no 5 sometimes it gives error no 30 but both the errors convey almost same message explaining that either HDD is corrupt or CD. As i have explained that I changed every thing including HDD and CD but the error is same.

View 5 Replies View Related

Ubuntu :: 11.04 Live-CD Cannot Read Ext4 Filesystem?

Aug 18, 2011

I want to install 11.04 next to my working 10.04 system. First I need to make room for the new system so I have booted from a live cd and started GParted. In GParted the partition with the 10.04 system on it, /dev/sda1, has a red circle with an exclamation mark in it and I cannot resize it. When I doubleclick on /dev/sda1 there is the following warning

Quote:

Failed to change to directory '.'(Stale NFS file handle)
Failed to change to directory '.'(Stale NFS file handle)
Unable to read the contents of this file system!
Because of this some operations may be unavailable.

The following list of software packages is required for ext4 file system support: e2fsprogs v1.41+.

The 10.04 system is working and has worked like a dream for a couple of years and the machine has never had any other system on it. Why would the live CD not be able to read ext4 fs?

View 4 Replies View Related

OpenSUSE :: Filesystem Has Become Read-only?

Aug 1, 2010

openSuse v9.3 (Yes, it's old)linux 2.6.11.4-21.17-smp i686At some time after July 28 the entire filesystem has become read-only. It was functional on July 28, the last time I logged into the machine and edited a file. Even as the superuser when I attempt to change, say, the permissions of a file, I get:

Code:
> # chmod 777 /opt
chmod: changing permissions of `/opt': Read-only file system

[code].....

View 9 Replies View Related

CentOS 5 :: Filesystem Became Read-only?

Jul 17, 2009

I have 64bit install with CentOS release 5.3 (Final)It's been stable for about six months. What happened a while ago is really weird, I haven't messed with anything lately but the entire /home filesystem became read-only. Can't write, can't delete to anything on /home. The other filesystems are fine. I am root, and the permissions look normal. My directories and files are writable and readable.

root@atlanta [/home]# touch foo.txt
touch: cannot touch `foo.txt': Read-only file system
root@atlanta [/home]# ls -l

[code]....

View 7 Replies View Related

Ubuntu :: Changed Folder Ownership - Filesystem Read Only

Jul 3, 2010

I accidentally changed etc., folder ownership, and now my computer doesn't even start up. I tried starting up in failsafe mode and changing the ownership from the root console, but somehow I wasn't allowed to do that. Then I loaded kubuntu from a live disk and I changed etc ownership to root. I thought that would clear up the mess, but apparently live disk's root is not equivalent to system's: when I try to start up the computer I get a message saying the filesystem is readonly. I'm not too concerned, because I have a complete backup, but I'd rather avoid the time of re-installing all my software again.

View 8 Replies View Related

General :: How To Write To A Read-only Filesystem

Feb 19, 2011

I have been given a headless linux system running from a SD card. I get into it by putty, directly to root, not other user and even /home dir. Whatever I copy or write will dissapear because is ro.

my etc/fstab file is:

none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda1 /boot vfatnoauto,rw 0 0

View 5 Replies View Related

CentOS 5 :: Read-only Filesystem With Some Rw Files?

Jun 8, 2011

I'm attempting to build a load balancing cluster for shared web hosting clients and the only thing left is security. Given the track record with some of these sites, I don't trust them being centralized. We've had rootkits on some of the other servers that replaced system binaries, mostly ssh to capture passwords. I figured the only real way to lock it down tight enough to keep this from happening is to use a live cd for the filesystem or read-only toggle USB stick. But I also need to mount a rw drive to store the clients data and config files that are bound to change.

Is this really the way to go about this? If so do I simply make a live cd iso and edit the files within to handle mounting a rw hard drive and linking data and configuration files to that drive? I've considered just leaving all the data on the physical hard disk and mounting it as ro on boot for binaries and such but can't that just be changed with the right permissions?

View 2 Replies View Related

Ubuntu :: A Software Has Turned Flash Drive's Filesystem Into Read Only?

Aug 5, 2010

Some moments ago, I plugged my drive into a computer with some strange data protection software. It turned my drive's filesystem into read only and now it can neither be formatted nor mounted with write option. I've tried

Code:
$ sudo dd if=/dev/zero of=/dev/sdb
but it doesn't work.

The problem is, the computer and the software that have caused this problem has lost forever.

View 3 Replies View Related

OpenSUSE Hardware :: 11.4 Filesystem Goes Read-only In VMware?

Aug 23, 2011

Yesterday I post this note, because I've an urgent issue with the filesystem in opensuse 11.4, used like VMWare guest OS, over VMware Server 2 for w2k3 64bit like a host) opensuse 11.4 Filesystem goes read-only in VMware

But, Novell have a fix published for SLES 10, with the 2.6.16.46-0.12 kernel version .

I'm using a Opensuse 11.4 with the 2.6.37.6-0.5-desktop kernel version. May be related with the LSI virtual scsi hardware?

Because exists a fix for SLES 9, 10, RedHat EL 4,5 and Ubuntu 7.10, but doesn't work in opensuse 11.4

View 1 Replies View Related

OpenSUSE Install :: Error - Read Only Filesystem ?

May 25, 2010

I have double boot (windows7 and Opensuse) on my laptop.

My problem is when try to login Opensuse says Read only file system.(While booting a lot of things FAILS(written red) because of Read only file system). So i can't login.

Cause of this problem is want to reach my Opensuse filesystem from windows7.I installed Ext2fsd software to windows7.After installed software can see my opensuse filesystem.But it looks empty from windows7.So uninstalled the software.

After that day try to login my Opensuse.While booting alot of thing fails to load it says "FAILED".and when entered my password after entering my username cant login it says ..... Read Only File System.

How can i make the filesystem Read/write permissions to my opensuse operating system.

I can't use any command beceause can't login. (I will try to boot with Opensuse Dvd)

View 9 Replies View Related

OpenSUSE Install :: 11.4 Filesystem Goes Read-only In VMware

Aug 22, 2011

I'm a issue with a opensuse 11.4 guest VM. The root partition goes read-only while the VM was running normally.

I note this /var/log/messages:

Code:
Aug 22 10:57:02 guest1 kernel: [508161.475307] mptscsih: ioc0: attempting task abort! (sc=dc29c5c0)
Aug 22 10:57:02 guest1 kernel: [508161.475380] sd 2:0:0:0: [sda] CDB: Write(10):
Aug 22 10:57:02 guest1 kernel: [508161.475582] mptscsih: ioc0: task abort: SUCCESS

[Code]....

View 1 Replies View Related

General :: Script To Check If A Filesystem Is Read-only?

Jul 6, 2010

write a script that will check all filesystems to see if they are read-only.

I have come up with ...

df -h > /tmp/mount.lst
awk '{print $6}' /tmp/mount.lst > /tmp/mounted_systems.lst

This gives me ..

Mounted
/
/boot
/dev/shm
/proc

So now I have ..

How do I automatically get rid of the 'Mounted' header in my /tmp/mounted_systems.lst file ?

Also, I don't want to check the /proc filesystem, so how do I remove that within the script too.

Then I will run ...

while read dir
do
touch $dir/read_only_test
done < /tmp/mounted_systems.lst

If the filesystem is read only, I want that filesystem name to be listed into another file.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved