Software :: Resize2fs Beeing Stuck Cpu At 0%?
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
ADVERTISEMENT
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
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
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
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
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 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
Aug 22, 2010
I am running Oracle Enterprise Linux x64 5.5 on an HP Proliant DL380 G6 attached to various SAN's via fibre channel. I have setup multipath, edited multipath.conf, lvm.conf, and after some trial and error, everything behaves and looks as it should in regard to multipath. However, when I try to resize a multipath ext3 lvm filesystem, The operation runs for a while, but then dies and I get the above error. I then see this error in /var/log/messages:
EXT3-fs warning (device dm-9): ext3_group_add: No reserved GDT blocks, can't resize
-I am only using the /dev/mapper/ paths to the filesystem (ie, resize2fs /dev/mapper/testvol-lvol1 128G)
-if I unmount the filesystem, resize2fs works fine
-Have tried removing and re-adding journal file via tune2fs with no luck
-The VG has plenty of room in it and is composed of a 100GB and 200GB partition.
-Inode resize is on in the filesystem
I am wondering if online resize2fs is only for small filesystems or not recommended as a best practice or just not generally done??? As I mentioned, the operation works fine offline if I unmount the filesystem, but this won't be an option once system is in production.
View 3 Replies
View Related
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
Jul 12, 2010
I've just upgraded a server to Lenny; everything went smoothly I'm glad to say, except that now my version of PHP is 5.2.6, and I want 5.2.9.
Here's my sources.list:
View 5 Replies
View Related
Aug 8, 2010
I am finding the following problem. Just wanted to know anyone else has experienced these types of issues.My laptop is debian squeeze x86 with custom 2.6.34.1 hand compiled kernel whereas the desktop where I am doing ssh is a dual boot system with debian squeeze x86_64 with custom 2.6.34.1 kernel and ubuntu 10.04 x86_64. Whenever the desktop is running ubuntu, there is no problem with ssh. But when it is running squeeze many times ssh hangs, just after issuing the command. Sometimes it asks for password and then do nothing, otherwise it just remains at the ssh line itself Even the escape (~.) does not have any effect on that. Only thing possible is to kill the ssh process. There used to be no problem last week, but I think after an upgrade either on laptop or desktop, things went this way.
View 3 Replies
View Related
Dec 27, 2009
Does anyone other then me observe he weird thing with the keyboard, every now and then keyboard behaves as if a key is stuck and - say I'm on console - it keeps printing the same character.I have been seeing this since F12 - alpha
View 10 Replies
View Related
May 27, 2011
Just upgraded Fedora 14 to 15 using preupgrade in Virtualbox on Windows 7. Now it sticks on progress bar and fedora 15 label. How to see fedora boot log, login to rescue shell or whatever and find out what's wrong with it?
View 1 Replies
View Related
Jan 6, 2010
I recently went through the very long process of installing ubuntu 9.10 on my ps3 via linux.After I finished installing it, it launches kboot, in which if I press enter, which started the boot process on YDL 6.1, does nothing, is there anything special to type to get it to work?
View 2 Replies
View Related
May 11, 2010
As a struggling nubie (i have only been using Ubuntu on my laptop for a year and loving it!) i tried to install ubuntu onto my other PC (Powermac G5 dual core 2.5ghz sata hdd PPC). I Originaly wanted to install to a seperate harddrive but with the open firmware on the ppc it seemed a little complicated and i went for a normal instalation.I was told that the alternate CD would be the only one that would install to my type of pc correctly. The instalation seemed to go okay, though at the end of the software install it flashed up with an error message saying that i had not finnished this task corrrectly. seeing as the error message was only after all packages had been retrived i carried on regardless.
I then rebooted after instalation and i can only access Ubuntu through the command line (no GUI) i tried sudo apt- getupdate and sudo apt-get install ubuntu-desktop I then get the message;"Media change: please insert disc labelled 'Ubuntu 10.04 LTS _Lucid Lynx_- Release powerpc 20100428' in the drive '/cdrom/' and press enter"I tried it with the live "desktop" CD and the alternate CD but neither of them seem to work giving me the Error "Unable to fetch some archives..." I searched for a release that corresponded "Ubuntu 10.04 LTS _Lucid Lynx_- Realease powerpc (20100428" but i couldn't find a release on google apart from a page of server releases with the same release number.
View 1 Replies
View Related
May 26, 2010
I finally gave in tonight and upgraded to 10.04. When it went to restart, it wouldn't boot back in. I got the error: Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/6cb7dd44-88ea-4345-a661-4bbd**** does not exist. Dropping to a shell! BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built in shell (ash) (initramfs) Ok, so when I was upgrading, I chose to "keep the existing version" of the boot file or something (forget the wording, but I get the impression it's the menu.lst). This may affect things. Ok, so I'm staring at the (initramfs) line on the screen. Where should I go from here? I'm working with a normal ubuntu desktop install on a toshiba netbook (worked just fine with 9.10).
View 5 Replies
View Related
Oct 19, 2010
I have Ubuntu 9.04, when i start up the computer in boots up gives me 2errors on something. it shows the light orange screen, with loading mouse for 15 secs. then it shows 10 line of words on a blank screen, then loops back and forth. it never gets out
View 2 Replies
View Related
Jan 22, 2011
I installed Ubuntu 10.10 x64 on my Acer TimelineX 4820 TG, and everything was messy. I updated the bios, and it got a lot of things done but I still have a couple of problems:
1) Almost every time I boot my notebook, it gets stuck on the splash screen (I am using the open source graphics drivers), and it will get stuck 3-4 times and require manual restarts until I can login properly. Also, the applet icons get mixed up or lost on the upper gnome bar.
2) When I install the proprietary ATI drivers, my screen is not recognised (at least I think so), and I am stuck with a terminal and no graphics at all.
View 1 Replies
View Related
Apr 29, 2010
I have just installed Fedora 12. It is booting properly right-away after installing (as a part of installing process). But when i am trying to boot it after taking out the CD, it is geting stuck even before asking for login.I am having dual boot in my system. The other OS is Windows 7 what might be the problem and how to overcome it?
View 2 Replies
View Related
Jan 5, 2010
When I repeatedly run `date` I get the 8 sec rage hour:When I repeat `hwclock` I get a normal time flow.
(ntpd is stopped)I'm pretty sure the system clock is ok, I check on every reboot.Another issue is that the os fails to shut down. It takes about 40 min, then it goes into runlevel 1 and then I run init 0 And it says: switching runlevel.. INIT: Sending TERM sig...
View 1 Replies
View Related
Aug 11, 2010
I have 4 servers with RedHat Enterprise server 32-bit installed. i'm trying to install 64-bit system instead but the hardware has only CD drive (not DVD). When i tried to use external DVD drive and connect it to the USB to install the 64-bit system, it starts ok but then it ask for the media and give me 4 options (Internal CDROM, Internal Harddrive, FTP, NFS). Now i'm stuck with the DVD that system can't read it and i don't have RedHat on CDs and i'm unable to install the 64-bit system.
View 6 Replies
View Related
Oct 24, 2015
I have the problem of app stalling at 0% when trying to update. I ran apt with the debug option
apt-get -o Debug::Acquire::http=true update
And I get the following:
Code:
Select all0% [Trabajando]GET http://security.debian.org/dists/wheezy/updates/Release.gpg HTTP/1.1
Host: security.debian.org
Cache-Control: max-age=0
User-Agent: Debian APT-HTTP/1.3 (0.9.7.9)
GET http://ftp.mx.debian.org/debian/dists/wheezy/Release.gpg HTTP/1.1
Host: ftp.mx.debian.org
Cache-Control: max-age=0
User-Agent: Debian APT-HTTP/1.3 (0.9.7.9)
After a while trying to update, it trows out this error:
Code:
Select allIgn http://ftp.mx.debian.org wheezy-updates/non-free Translation-en
W: Imposible obtener http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 503 DNS error for hostname security.debian.org: Name or service not known. If security.debian.org refers to a configured cache repository, please check the corresponding configuration file.
[Code] ....
I have tried changing repos, also i have verified with iceweasel the availability of the repo.
Ihave changed aldo the network setting from dhcpd to static.
I am using Debian wheezy, gnome desktop enviroment, although the DE is irrelevant.
My conections details:
Code:
Select all
eth0 Link encap:Ethernet HWaddr 50:46:5d:b2:1b:2a
inet addr:192.168.2.14 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::5246:5dff:feb2:1b2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:376446 errors:0 dropped:0 overruns:0 frame:0
[Code] .....
View 1 Replies
View Related
Jun 21, 2009
I'm running Fedora 11 KDE on a Dell D600 laptop. After using it for awhile, my mouse seems to stop responding to clicks. I can move the cursor and xeyes seems to follow that around, but when I click, it seems like its focus is stuck in one place. For example, if I'm using firefox, I can use the navigation buttons, but I can't get focus on a textbox or click on the panel to switch windows. When I close firefox through the keyboard, the focus goes to the next window and I have a similar problem.
I actually switched to Fedora from Mint because I was having the same problem there and I was unable to find a solution. Restarting the window manager fixes the problem, but it comes back after a little while.
View 4 Replies
View Related
Aug 5, 2009
Just when I had everything running so well. Graphics were good and I even had multiple VM's running. Today FC says I have 246 updates. The updates good through fine. I reboot my machine and now it's stuck. ArrrgIt is stuck at the message: ADDRCONF (NETDEV_CHANGE): eth0: link becomes ready
View 9 Replies
View Related
Aug 6, 2009
I did the yum preupgrade install, all went well, did preupgrade -gui ; did everything fine, then i got the REBOOT now to start updating, clicked and i have just
View 5 Replies
View Related
Sep 18, 2009
To give a bit of background, I started using Fedora at Fedora Core 2. I've installed and upgraded Fedora several times in the last few years.However, I'm not a Linux master, and there are many things I don't know how to do. When I need help, I can usually find an answer, but not this time.
I've just wiped clean my hard drive (after backing up to a separate drive), repartitioned it, and have installed F11. There were a few glitches along the way regarding the repartitioning, but they got worked out.Oh, before the install, I also added a new 1TB SATA hard drive to the system.Now that the initial install is done, I'm trying to boot up and complete the process, but the system hangs after checking filesystems. Yes, it already checked and passed the new 1TB drive.I've left the machine at this step for an hour and it has not yet loaded the firstboot screen to complete the install process.
View 3 Replies
View Related
Aug 19, 2010
fedora 13.I have ran fedora for a little while now and its quite good, a lot more stable than I was led to believe and add/remove tool has a great variety. So today I was booting up and decided to "type" as fedora was booting. The long and the short of this is that fedora stops at this well the bar fills just before nvidia screen/login dialog pops up and freezes there.
View 8 Replies
View Related
Jul 3, 2011
I started installing fedora 15 from CD on a dell Vista Laptop (2hz 1g ram) but after the logo finished turning white it stays on the blue screen with the bird.I have been trying fedora 13 and xubuntu on this cheap old con of a laptop from pc world and things run smooth (E-system 1.7hz 512RAM vista
View 1 Replies
View Related
Jul 15, 2011
One of our Fedora 14 machines has the root user stuck in bash. This would not be a problem as we rarely use root, but some of our processing runs on cronjobs from the root account. Tcsh is installed and up to date. All other users can switch shells except root. I do not know what happened as I was out for a day and came back and the processing was not working.
View 1 Replies
View Related