Ubuntu :: Ext4 Block - Inode Count Wrong ?

Jun 28, 2010

I'm running a small development server on Ubuntu 10.04 server 64 bit with ext4 as the File system type.

I keep on getting wrong block / inode size when I do an fsck:

Code:

I then force an fsck and the problem is solved, but given a day or two, the problem is back. This can sometime consume up to 10G of my HDD space.

Code:

View 3 Replies


ADVERTISEMENT

Debian :: Error (device Hde1): Ext3_get_inode_loc: Unable To Read Inode Block - Inode=2375715

Mar 25, 2010

I decided to take an old Gateway that I bought off a guy cheaply and turn it into a file and web server.I purchased copies of Debian 5.0.4 i386 disks (31 in all) on the advice of a friend, the disks weren't expensive, but now that Ive installed all the disks, I'm having a variety of errors

[443.110940 end request: I/O error, dev hde, sector 76021855
[443.111074] EXT3-fs error (device hde1): ext3_get_inode_loc: unable to read inode block - inode=2375715, block=9502724
INIT: cannot execute "/sbin/getty"

[Code]..

View 2 Replies View Related

Ubuntu :: Resize2fs: "inode Is From A Bad Block In The Inode Table"?

Jul 9, 2010

I was using gparted from a live usb to resize an ext4 partition and it failed while running resize2fs. The error it gave was

Code:
resize2fs: The inode is from a bad block in the inode table while trying to resize /dev/sda5
please run 'e2fsck -fy /dev/sda5' to fix the filesystem after the aborted resize operation.

[code]...

View 1 Replies View Related

Fedora Servers :: Increase Inode Number On Ext4?

Jun 3, 2010

i have a slave disk with some data formatted in ext4 , now i have 95 % of inode used ( and 50% of used space )how can increase inode ?

View 5 Replies View Related

Hardware :: Ext2_get_inode: Unable To Read Inode Block

Jul 21, 2011

[code]...

server2 kernel: EXT2-fs error (device sdc1): ext2_get_inode: unable to read inode block - inode=44998281, block=89981174

[code]...

View 3 Replies View Related

Fedora :: Error - Inode 3640928 Has A Bad Extended Atribute Block

Dec 27, 2010

my server is fedora-7 and it was working fine till yesterday yester I have power failu problem after we got problem. while booting following error coming Inode 3640928 has a bad extended atribute block

View 1 Replies View Related

General :: EXT3 FS Error - Unable To Read Inode Block

Feb 8, 2011

I am using Wind River Linux- 2.6.27.18-WR3.0bg_standard. The problem is whenever I execute "reboot, ls, cd" and many other commands the OS prompts me an error-
"end request: i/o error, dev sda, sector "(different sector each time)" and
EXT3-fs error (device sda1):ext3_get_inode_loc:unable to read inode block- inode-4088001, block-4097027
I also executed "dmesg", it also showed similar errors. Has the disk gone bad or the kernel is corrupted?

View 3 Replies View Related

OpenSUSE Hardware :: No Application That Can Open Type Block Device (inode/blockdevice)?

Jul 21, 2010

I'm having trouble mounting hard drives and partitions - and am rather nervous about using Yast partitioner to do this. Is there something that would tell me about mount points in Yast partitioner? So far I haven't been able to find that information anywhere. I don't want to lose information on existing drives and partitions but do want to be able to access them.Some of them appear under disk information in "My Computer" but if I try to mount them I get this error message.There is no application installed that can open files of the type block device (inode/blockdevice).I was trying to edit fstab,his didn't seem straightforward either. I've been hacking this about in other Linux distros - so not entirely clueless

View 6 Replies View Related

Programming :: Count Specific Entries Inside A Block?

Jul 15, 2011

What I want to do is from a file having block like

<event>
8 3 0.2685416E-02
2 -1 0
21 -1 0

[code]...

The first line after the "<event>" is its process-id, so I would like to have at the end a summary of how many "event" block I have for each type, ie how many

6 1 0.2685416E-02

or how many

7 2 0.2685416E-02

etc etc

I do not know in advance how many different-kind of block I will have, so it has to be a bit smart to scan the file, and make an new "summary" info for each unique type I was using something like

awk '/<event>/,/</event>/{if ($3 -eq 0.2685416E-02 ) { print $1" "$2" "$3}}' file > out

and then

grep -c "$1" "$2" "$3" but with no success since my awk commands prints all lines of each block

Suppose, that in advance I do know the $3, ie the 0.2685416E-02 which is a kind of weight

View 8 Replies View Related

Programming :: Character Count Of A Word Is Coming Wrong.

Jun 11, 2010

I am using RHEL 4.5.

I am trying to count no. of characters in a word but it is coming one more than what it actually should be.

Code:

I can have a work around by subtracting 1 from the output (6-1=5 in this case). BUT, I am just curious to know, why the character count is coming as 6 and not 5.

View 7 Replies View Related

Fedora Servers :: FC5 > F12 - ERROR: Column Count Of Mysql.db Is Wrong

Jan 31, 2010

Target F12 mysql - 5.1.42-2
Source FC 5 mysql - 5.0.27-1

I've put SElinux into permissive mode as it was practically denying anything that moved. Both installed from the standard repos. I used mysql-administrator to create a backup of the FC5 server (all databases/tables) and transferred it to the new system. I restored it onto that machine and double checked that my standard admin user (full privs) was present and let me log in to make changes. All good so far.

So I copied over my files from my sites, point a browser at them and I get nothing, not even errors. Now it's a long while since I set the original up and have probably forgotten something simple but despite making the error output more verbose I can't seem to track anything down other than:

[Code]....

So it suggests my tables are invalid/trashed but I can't seem to figure out why. The original server is still running happily so I'm not in any rush to fix this, I'll keep plodding, Phpinfo reveals a normal operational php setup, so i think that side of the sites is functional. Apache test pages work on blank virtual hosts but viewing my sites reveals the favicon working fine but otherwise comepletely blank pages (zero output, even source). I tried running the page as a raw CLI input to the php package using php index.php and php returned nothing, logged nothing unusual but sat with my CPU at 100%, unsure if that is related.

View 1 Replies View Related

General :: Cannot Mount Hard Disk: Block Count Exceeds Size Of Device

May 11, 2011

I have one hard disk (call her HDA) that contains nothing but a single ext4 partition containing a backup of all my important data. Last night I did a clean install of Ubuntu 10.10 on my primary hard disk (call her HDB) and from there proceeded to upgrade directly to Ubuntu 11.04 upgrade. In 10.10, I was able to read HDA just fine. However after the upgrade, I can no longer mount this drive. When mounting from file browser:

Code:

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda,missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so The end of dmesg said the following:

Code:

dmesg | tail
[ 82.130904] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)

my hard disk has a block count greater than the size of my device. I've done my background searching on this and tried a command line utility I've never heard of before:

Code:

# sudo e2fsck /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
The filesystem size (according to the superblock) is 122096646 blocks
The physical size of the device is 122096381 blocks

[code]....

this is as far as I've gotten. This drive holds over a decade's worth of work for me and is extremely valuable. I really didn't think that the Ubuntu upgrade process would mess with this drive, seeing as the Ubuntu install was contained on an entirely different drive. What is it that I need to do to restore my drive to working status?

View 9 Replies View Related

Hardware :: "failed To Set Xfermode," / Getting Ext3 Errors About Failing To Read An Inode Block?

Aug 19, 2010

About a month and a half ago I purchased two new 500GB serial ATA hard drives from Best Buy to replace my other, very old 186GB SATA hard drive. Since then I've had issues with Linux. Sometimes when it's booting it gives a bunch of error messages, such as "failed to set xfermode," and then it boots. Other times, after INIT has started, I get ext3 errors about failing to read an inode block, then "cannot start /sbin/agetty" and "ID c5 respawning too fast," and at this point booting fails altogether. These errors seem to happen randomly. However, once the system has booted, everything seems to work fine, and there are no further issues.

I know it's not a faulty hard drive or filesystem because I've tried Linux on both hard drives numerous times, and I've reformatted many times, one time I even tried erasing one of the hard drives byte for byte and then formatting it, and still had issues.

I've tried Arch Linux, Gentoo, VectorLinux, and openSUSE, and all of them have given me these problems. The live CD's for Ubuntu 10.04, Clonezilla, and GParted all have trouble partitioning/cloning/installing to these hard drives. At this point, it's obvious to me that there is a universal problem with this particular model.

GRUB and Syslinux both work fine, and Windows XP works fine too. It's only Linux that's giving me issues.

I would rather not buy a new hard drive if I can help it, seeing as these two are almost brand new. Is there some BIOS setting that could be causing these problems? Is it some unsupported feature in the hard drives? Is it a bug in the Linux kernel?

The hard drive model is WD5000AADS. Both hard drives are this same model. My motherboard is an NForce 680i SLI.

EDIT: I've tried ext2/3, ReiserFS, and XFS, and all of them do this, so I don't think it's a filesystem issue.

View 9 Replies View Related

Server :: E2fsck Fails - Bad Block / Inode - Fails To Transfer

Mar 29, 2010

I have a 14TB raid, file system is read-only and I am trying to run e2fsck -B -p -C -v -y /dev/sdb1, it goes through, but fails and says bad block/inode or fails to transfer, something like that.Is there a way I can get this to run successful, this is a production storage server, its critical.

View 13 Replies View Related

Ubuntu :: 2 New HD With Ext4 Partition - Wrong Root FS?

Jul 2, 2011

I installed 2 new hard disks and created one ext 4 partition on each of them. After rebooting busybox tells me that there is no /sbin/init.

View 7 Replies View Related

Hardware :: External Hard Drive / Cannot Format / Warning: Block Count Mismatch: Found 78xxxxx But Assuming 0'?

Oct 21, 2010

I have WD external hdd (80GB) formatted with fat32. I was using this hdd to transfer the data from computer A (LINUX, RH9) to computer B (Win7).

I was keep copying and deleting the data in the WD hdd during the data transfer because the amount to transfer is more than 300GB.

After doing this several times (and the WD drive was emptied), comp. A said the disk is full. I checked using 'df' and it was really full but 'ls -la' shows that there is no data in it.

I checked it in comp. B, and it showed empty. I tried to format in comp. A using 'mkdosfs -F 32 /dev/xxx# (block#)', but showed an error message like below.

'Warning: block count mismatch: found 78xxxxx but assuming 0'.

I found a similar situation in this forum metioning 'possible damaged linux kernel (not exactly same expression though)', so I re-installed linux in comp. A, but the problem was not solved.

1. why the disk info. is showed differently in linux and win7
2. why I cannot format it

View 3 Replies View Related

Ubuntu :: Ext4 Constantly Reporting Wrong Free Blocks?

Jun 24, 2010

I'm using ubuntu 10.04 64bit server edition running a small dev server. What's happning though is that my one ext4 filesystems reports the wrong amount of free blocks. This is what fsck reports

Code:
fsck -n /dev/sda1
fsck from util-linux-ng 2.17.2

[code]....

View 6 Replies View Related

General :: Cannot Mount Ext4 Fs With Block Size Of 65536

Feb 5, 2011

I am doing some benchmarking on EXT4 performance on Compact Flash media. I have created an ext4 fs with block size of 65536. however I cannot mount it on ubuntu-10.10-netbook-i386. (it is already mounting ext4 fs with 4096 bytes of block sizes) According to my readings on ext4 it should allow such big block sized fs. I want to hear your comments.

[Code]...

View 2 Replies View Related

General :: Booting - Error "Extended Attribute Block 18875430 Has Reference Count 2 - Should Be 1"

Jan 1, 2011

While booting my Linux System (Red hat Enterprises edition 5.1) I am getting a messsage as below , the message is getting generated during file checking on first boot. Extended attribute block 18875430 has reference count 2 , should be 1. and after this system remains in the same sate.

View 1 Replies View Related

Programming :: DBD::mysql::st Execute Failed: Column Count Doesn't Match Value Count At Row 1

Feb 24, 2010

I have the following perl/DBI script:

Quote:

#!/usr/bin/perl
use DBI;
my ($db, $user, $pw) = ('dbname', '****', '***********');
my $dbh = DBI->connect("DBI:mysql:$db",$user,$pw) or die "Cannot connect to $db: $DBI::errstr

[code].....

The error message is

[Wed Feb 24 13:03:27 2010] myscript.cgi: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at myscript.cgi. [Wed Feb 24 13:03:27 2010] myscript.cgi: DBI::db=HASH(0x8a30c60)->errstr

View 2 Replies View Related

Fedora :: Booting - Error "EXT4-fs(sda): Error Loading Journal Mount: Wrong Fs Type, Bad Option, Bad Superblock On /dev/sda8"

Feb 4, 2010

I have installed both Windows Xp and Fedora 12. Last time when i was working on Fedora it didn't shut down properly. Now following error occurs and finally the system sleeps.

ata1.00 : exception Emask 0x0 Sact 0x0 SErr 0x0 action 0x0
ata1.00 : BMDMA stat 0x25
ata1.00 : cmd c8/00:00:50:5a:34/00:00:00:00:00/e4 tag 0 dma 131072 1n
res 51/40:7f:d1:5a:34//00:00:00:00:00/e4 Emask 0x9 (media error)
ata1.00 : status : { DRDY ERR }
ata1.00 : err : { UNC }
end_request: I/O error, dev sda, sector 70539985 JBD : Failed to read block at offset 5884 EXT4-fs(sda): error loading journal mount: wrong fs type, bad option, bad superblock on /dev/sda8, codepage or helper program, or other error In some case useful info is found in syslog-ty dmesg | tail or so

View 1 Replies View Related

Ubuntu :: Make Grub Always And Permenantly Detect Ext4 As Ext4 Not As Ext2?

Apr 23, 2010

I got a problem booting ubuntu 10.4 RC but i solved it by replacing root partirion uuid in grub boot menu then I disapled totally uuid passing to linux from /etc/default/grub . but something else i noticed why grub choosed insmod=ext2 why not ext4 specially I use now ext4 .I tried by editing the grub boot menu replacing "insmod=ext2" by "insmod=ext4" it booted and the three lines error during booting that i used to see them science ubuntu 9.10 totally disappeared . really I dont understand can anybody explane for me.and if what i did was right ,can anybody tell me how to make grub always and permenantly detect ext4 as ext4 not as ext2.

View 6 Replies View Related

CentOS 5 :: 5.5 Ext4 Conversion - Ext4 Partition Is Recognized As Ext3?

May 19, 2010

I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting

yum install e4fsprogs
tune2fs -O extents,uninit_bg,dir_index /dev/md2
nano /etc/fstab # I indicated here that my /dev/md2 is of ext4

[code]....

View 4 Replies View Related

Ubuntu :: How Does Filename Gets Mapped To Its Inode

Mar 7, 2010

How does a filename is mapped to its inode ??? If I want to make our own system call and use a filename as argument how can I get its inode ,if I want to use some of member of inode structure in code. Basically I want to get the fd of the file.

View 5 Replies View Related

Ubuntu :: Add New Attribute To Inode Structure?

Feb 3, 2010

In my project, there is a requirement for adding one more attribute for file properties which keeps track of previous file copies(Copy history).
So how can we accomplish this?
can we add/store this information in inode structure?

View 5 Replies View Related

Ubuntu :: Recover File - Don't Know The Inode Number Of It?

Jan 3, 2010

How can i recover a file if i don't know the inode number of it? Is there a way of scanning the hard drive for inodes that has no reference?

View 1 Replies View Related

Ubuntu :: Xfs Inode Flush Bugs - Threat Or Menace?

Jul 1, 2010

I was rather intrigued by the large number of xfs bug fixes in the recent kernel update for Lucid.

Code:
aptitude changelog linux-image-2.6.32-23-server | grep -c xfs:
20
20!

Poking around reveals that one Dave Chinner, Principal Engineer -- SGI Australian Software Group, submitted a series of patches to deal with preventing the flushing of stale inodes. I'm trying to figure out just how relevant those patches are to the stability of XFS, especially to pre-Lucid Ubuntu systems: are they in danger of data loss? Some quick search results thrown together in an effort to asses this issue:[URL]..Quote:

Dave Chinner (9):
xfs: Don't flush stale inodes
xfs: Ensure we force all busy extents in range to disk
xfs: reclaim inodes under a write lock
xfs: Avoid inodes in reclaim when flushing from inode cache

[Code]...

View 1 Replies View Related

Fedora :: F11 - How To Reduce Inode Usage

Sep 2, 2009

I am running into a scenario where inode utilization (df -i)on a partition is 100% I want know

1) Is there a better way to list the total count of all files in a partition and just display total number of files in each directory in that partition I can get approx total for the entire partition by following commands

ls -Rla | wc -l
find -type f | wc -l

whereas ls -Rla gives too lengthy outptut with all the files in each directory

2) How to know inode utilization for each user or system account? There is huge number of files and how to remove it

View 9 Replies View Related

General :: Effect On Inode While Resizing The LV?

May 22, 2010

In Linux when we resize the partition with the logical volume(LV), how is the inode adjusted?

View 1 Replies View Related

General :: View A File With Its Inode Nno?

Nov 2, 2010

how can we view a file with its inode nno . eg. cat 12456 where 12345 is the inode of a file

View 3 Replies View Related







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