General :: Resize2fs Seems Stuck At Pass 3 (scanning Inode Table)?
Jun 16, 2011
I have a machine running Arch Linux (2010, I believe) with a 6TB RAID-5 array hooked up to a Highpoint RocketRaid 2320. I've been having issues with the RAID controller's drivers and the latest Linux kernels thanks to the driver not being open-source, and as a result I am migrating the system to Windows Server.Problem is that the 6TB disk originally was comprised only of an ext4 partition.I shrunk the partition down as much as I could, and added a NTFS partition in the empty space so I could start moving files. That went fine. Problem is that now I need to shrink the ext4 partition again, move files, shrink again, etc. The second run through resize2fs is taking way longer than the first pass.It seems to be getting stuck at pass 3:
[root@nar-shaddaa rc.d]# resize2fs -p /dev/sdb3 863000000
resize2fs 1.41.14 (22-Dec-2010)
Resizing the filesystem on /dev/sdb3 to 863000000 (4k) blocks.
[code]....
View 2 Replies
ADVERTISEMENT
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
Jan 19, 2010
I'm currently in the process of remove a drive from an lvm. I am following this guide
[URL]
and to be honest I have also posted this question at [URL] but I have a fair amount of data at stake here and really need to make sure I'm acting safely. This is certainly not a place to button mash or guess.this is the 2nd drive that I am removing, the first one went off without a problem.However, I just received this error
Code:
resize2fs: Can't read next inode while trying to resize /dev/vg0/lvol0
and I'm not sure what it means or where to go from here. The entire output is
Code:
root@dude:/mnt# resize2fs -p /dev/vg0/lvol0 4466524456k
resize2fs 1.41.4 (27-Jan-2009)
Resizing the filesystem on /dev/vg0/lvol0 to 1116631114 (4k) blocks.
[code]....
View 14 Replies
View Related
Mar 16, 2010
Where is the inode table located in ext3 file system ? How can I read the entries in it ?
View 4 Replies
View Related
Aug 7, 2011
I needed to shrink a filesystem so I could take a drive out of a RAID5 array. I unmounted the fs, then ran e2fsck on it and it found 5.9% non contiguous files but no errors. Then I ran resize2fs -f /dev/whatever 1300G (initial size was 2500G, used space was at this time only 1136G). It started operating and after some hours I received a lot of messages on the output as mdadm started resync in the background. Now the resync is done but nothing moves. Here is the output I received in the terminal window where resize2fs was ran :
Code:
computer:/# e2fsck /dev/stold/storold
e2fsck 1.41.3 (12-Oct-2008)
/dev/st/stor a �t� mont� 68 fois sans avoir �t� v�rifi�, v�rification forc�e.
Passe*1*: v�rification des i-noeuds, des blocs et des tailles
[code]....
I understand that it doesn't do nothing anymore, as it doesn't consume any CPU cycles anymore. What can I do now ? It's running near 24 hours now ! How can I try to escape from this situation without loosing all data ?
View 3 Replies
View Related
May 19, 2011
Anyone, I would like to ask if it was possible to change the entries of a file's inode table ?
For example
Code...
I was wondering if I can change the entries in this inode table's entries.
For example I want to change the "Modify" entry ? I want it to reflect to day 2009-05-19 for example.
Can i do it ?
View 13 Replies
View Related
Feb 8, 2011
I'm trying to use GParted from a liveusb to resize my ext4 Ubuntu partition, but it's been stuck on the "shrink file system...resize2fs" for two days straight. The progress bar is still going back and forth, and top shows a lot of CPU activity, but it won't move past this point. I know it's a bad idea to stop GParted while it's resizing, what I can do, maybe a way to check to see if it's actually busy resizing the partition?
View 1 Replies
View Related
May 18, 2010
I have installed Lucid 64bit and everything is working OK except for my printer / scanner.
I have a Canon Pixma MP520 and when I switched it on and plugged it in Lucid identified it and installed the necessary drivers.
I have tried printing and scanning (scanning using Simple Scan and Xsane) but I can't get any more than 600 dpi resolution (my printer / scanner is capable of 4200 resolution).I have tried changing the resolution in the scanning packages but the resolution stays the same.
View 2 Replies
View Related
Dec 14, 2010
How can we find the maximum size of the inode table and what decides it, and how the maximum size of volume of file system is decided ?
View 4 Replies
View Related
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
Oct 23, 2010
When I shut down I sometimes get some weird errors on screen, and it stops shutting down until I hard reset (hold power down). The errors are something like
Code:
drm:atom op_jump atomBios stuck
drm:atom execute table locked atombios stuck
Also I have my pc set to schedule shutdown (gnome schedule, with "sudo shutdown -h now")My windows side has always shutdown fine, So I don't know if its an incombatilibty with my pc/mobo and the linux kernel ? (half the time it shuts down fine)(?might be due to spin down hard drive option?, or standby settings?)(hibernate on windows has never worked for me)
View 6 Replies
View Related
Jun 23, 2011
what is the function of resize2fs command and how this command works internally , how it is related to inodenumber or does it format the partition
View 6 Replies
View Related
Jun 24, 2011
i m doing certification in RHCE. i have learn much more in Linux. now i m going towards LInux hardware programming.i had solved enough questions about internal working of commands that r used in Linux. bt i m not understand hows resize2fs command actually work.i kknow this command is used to shrink or extend the partion or file system.but hows that possible.wat is the internal woring of that command.
View 1 Replies
View Related
Mar 9, 2011
What is the difference between ext2online and resize2fs command?
View 3 Replies
View Related
Feb 25, 2011
what is the translation table and referance table in any DB (with referance to Data conversion)
View 2 Replies
View Related
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
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
Nov 16, 2010
Can we find the inode of a particular file using its inode number?
The reason is i want to know how many blocks are occupied by specific file.
if we consider block size of 1K.
if the file size is of 100 bytes. In such a case, when the file is
stored on disk, the file will occupy 100 bytes or 1K (since we have
choosen block size to be 1K) ?
View 6 Replies
View Related
Feb 9, 2010
I have a directory that contains some files (over a 1,000) that have a '' in the filename. There are also some good files that I need to keep. therefore I need a script to delete based on inode.
What I have thus far:
list="$(ls -il /opt/PC/log/*RPOUT*.xml)" #this gives me the list
# I need to get the inode of.
for i in $list
do
find . -inum $i -exec rm -i {} ;
echo "delete file" $i >> /home/me/tmp/del_inode.txt
done
echo 'completed'
I know this is not right ... what I know is is the 'find' is. I need to loop through the $list gleaning inodes to get all the files with '' delete. I'm not sure how. The $i gives me the whole line. I just want the first position. set $() does not seem to work ...
View 5 Replies
View Related
May 19, 2010
If you create a file on UNIX/linux with special chars, like touch "la*, you can't remove it with rm "la*. You have to use the inode number(you can if you add the before the name, I know, but you'd have to guess as a user that it was used in the file creation).
I checked the manpage for rm, but there's no metion of the inode number. Doing rm inodenumber doesn't work either.
What is the command for this?
View 4 Replies
View Related
Mar 9, 2010
I deleted some files on the command line and would like to learn if it's possible to recover them. It's not a terrible thing if they are gone, but I want to see what I can do. The server is configured as a hardware RAID5+1 (ext3, Debian Stable) and I *really* don't want to take a dd of the entire disk.
ls -id gets me the inode value of the directory(155655)
I'd like to create a disk image starting at that specific inode. Then there is the issue of picking an outer boundary of the disk image. I'm hoping there's a dd/ext3 genius out there to advise.
View 1 Replies
View Related
Mar 4, 2010
how to use inode hook functions(inode_alloc_security and inode_free_security)?
View 1 Replies
View Related
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
Jul 16, 2011
I want to identify all the computers on my LAN that have port 80 open. So I want to scan an IP range (192.168.0-255.0-255) and have Nmap print onto the screen all the IPaddresses it scanned that are accepting connections on port 80. How do I do this?
View 1 Replies
View Related
Jul 18, 2011
1st. I lost my usb drives. Im using Puppy Studio(Lucid, Full HDD install, latest ver) on a Toshiba Satellite 2805-S201... My 1st Linux treasure... Anyway... I was recording audio thru audacity. Shutdown. L8r started and inserted a Flash drive and the icon never showed even though I used it hours prior with no issues. The drives are working fine meaning I can access the data on other devices. Now the newb... I cant find the USB info anywhere. i followed System-Status & Configure-Hardware info-Devices-USB devices and theres nothing there. The optical drive & sda1 are registered but the flash drives are not. Does it sound like my 2 USB ports are dead? My mouse & keyboard dont register either!
2nd. B4 today reboot was the only command I knew (so sad...) but I learned dmesg and tried that and dmesg reads
Ext2-fs (sda1): error: ext2_Lookup: deleted inode referenced 83359
Basically I now want to move my music but I have no working usb ports. And Its been frustrating trying to figure out what the dmesg means when today is the 1st time I opened a terminal!
View 3 Replies
View Related
Oct 23, 2010
i need to prepare a presentation for that i have to copy a table from [URL] to my power point slide. but when i am copying it i am just getting a table with single column. is there a method to import the contents from web page table to my presentation table?
View 2 Replies
View Related
Feb 4, 2011
I'm somewhat a newbie at LVM and have encountered a real problem for me. During resize2fs after extending my LV i ended up with a crash. Now I'm worried I have lost all my old data. How can I proceed to get the volume in working order?
NoFear ~ # lvextend -L+400G /dev/vgftp/lvftp
Extending logical volume lvftp to 4.16 TiB
Logical volume lvftp successfully resized
NoFear ~ # umount /dev/vgftp/lvftp
NoFear ~ # resize2fs /dev/vgftp/lvftp
resize2fs 1.41.10 (10-Feb-2009)
Please run 'e2fsck -f /dev/vgftp/lvftp' first .....
NoFear ~ # e2fsck -f /dev/vgftp/lvftp
e2fsck 1.41.10 (10-Feb-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/vgftp/lvftp: 308343/505479168 files (18.3% non-contiguous),
1006593162/1010942976 blocks
NoFear ~ # resize2fs /dev/vgftp/lvftp
resize2fs 1.41.10 (10-Feb-2009)
Resizing the filesystem on /dev/vgftp/lvftp to 1115800576 (4k) blocks.
** CRASH / HANG **
25hours waiting and nothing happens. No disk I/O going on or anything. I have no backups or anything of this volume. What can I do do revert the process to get the disks back? I have not done anything at all after the crash/hang in fear of destroying something.
View 2 Replies
View Related
May 3, 2010
Kmail 1.13.2 Problem on startup, error is from nepomuk, data storage. "cannot find Redland backend, nepomuk is disabled until fixed. Also see the following error from the akonadi console:
100503 10:00:15 [Note] Plugin 'ndbcluster' is disabled.
100503 10:00:15 InnoDB: Started; log sequence number 0 31413862
100503 10:00:15 [Warning] Can't open and lock time zone table: Table
'mysql.time_zone_leap_second' doesn't exist trying to live without
[code]....
View 2 Replies
View Related
May 14, 2011
I am trying to connect my fresh new Ubuntu 10.10 to my router. However I am having a bit of difficulty. This is what I have done so far:
Code:
lspci
My devise is a Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02). Then:
Code:
sudo ifconfig eth0 up
sudo iwlist eth0 scan
I get eth0 Interface doesn't support scanning.
View 10 Replies
View Related
Mar 13, 2011
I have been using Linux close to 2 years now. One thing that always bewildered me is audio support in Linux. These days I login to windows only for listening to music. After reading various blogs, i decided to give it a try in Linux with Amarok. There again I am facing a problem.
while i try to scan for music files it is not finding any files.
what I did is as follows:
Quote:
Setting --> configure Amarok --> collection --> scan
I have tried with mp3 .wma format files. While I try to add these files individually, Amarok is able to play those.
I am using Amarok 2.3.2 with KDE 4.4.5. Fedora - 12 is my flavor.
Given below is the log obtained with amarok -debug option
Quote:
TagLib: MPEG::Header:arse() -- First byte did not match MPEG synch.
TagLib: MPEG::Header:arse() -- Invalid sample rate.
TagLib: A frame of unsupported or unknown type 'TSC' has been discarded
TagLib: A frame of unsupported or unknown type 'TSC' has been discarded
TagLib: A frame of unsupported or unknown type 'TSC' has been discarded
[Code].....
View 3 Replies
View Related