04-15-2011
I cannot find ext2online or resize2fs in RHEL 4 rescue mode
Hi,
I'm trying to resize an ext3 FS (filesystem) under an LVM.
I have booted the OS (RHEL 4) in rescue mode using the CD media and I'm able to use lvm commands.
Now, I'm trying to shrink the filesystem before actually shrinking the logical volume but I cannot find ext2onlone or resize2fs (only in rescue mode); how can I shrink the FS then? Maybe I'm missing something?
Thanks.
Last edited by verdepollo; 04-15-2011 at 10:35 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello!
I need to write partitioning script wich would work in rescue mode. It will prepare partitions and unpack linux on it. However I need to calculate whole size of the disk and create:
/dev/sda1 --> One big partition (minus (2*size of memory) for swap)
/dev/sda2 --> Swap partition... (1 Reply)
Discussion started by: pug123
1 Replies
2. UNIX and Linux Applications
Hi all,
I am running xen virtual machine on centos 5 and xen gust o.s is centos.
I cannot boot my xen vm machine it saying cannot find /bin/sh to execute.
I want to go to rescue mode of my xen vm machine.
I know how to do on actual physical machine but how i can enter in rescue mode of... (1 Reply)
Discussion started by: email-lalit
1 Replies
3. Linux
Hi all,
I am running xen virtual machine on centos 5 and xen gust o.s is centos.
I cannot boot my xen vm machine it saying cannot find /bin/sh to execute.
I want to go to rescue mode of my xen vm machine.
I know how to do on actual physical machine but how i can enter in rescue mode of... (6 Replies)
Discussion started by: email-lalit
6 Replies
4. Red Hat
FYI
On redhat enterprise 5.5, no more ext2online, just use below
# resize2fs /dev/uservg/xxxxxxx
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/uservg/xxxxxxxxx is mounted on /xxxxxxx; on-line resizing required.................................
It will increase the size on the fly... (0 Replies)
Discussion started by: itik
0 Replies
5. UNIX for Advanced & Expert Users
Can anyone explain this error to me? I am trying to use resize2fs to resize an ext4 partition. I did unmount the partition and I don't have any files opened or anything like that. Here is the full output.
# resize2fs -p /home 3G
resize2fs 1.41.12 (17-May-2010)
open: Is a directory while... (1 Reply)
Discussion started by: cokedude
1 Replies
6. Red Hat
I accidently deleted fstab file from one of the compute nodes of the cluster (RHEL 5.3). Due to this no filesystem/directory is mounted on the system during bootup. I started system in rescue mode but it says You don't have any linux partitions. Press return to get a shell. The system will reboot... (2 Replies)
Discussion started by: ahsanpmd
2 Replies
7. UNIX for Dummies Questions & Answers
How to get cpanel backup data in rescue mode?
Server OS 6.3 minimal with cPanel
/dev/sdb1 is main partition
root@rescue ~ # fdisk -l
Anyone can help
Thank you (0 Replies)
Discussion started by: jaydul
0 Replies
8. Red Hat
Hi.. I was installing one IBM s/w on RHEL 5.9. It got stuck and we killed the process at terminal Again we installed the s/w succesfully. But
after that I tried to change the user.
i.e., su testuser
it was giving error. Permission denied.
So I restarted the system. Now its going into... (11 Replies)
Discussion started by: sukhdip
11 Replies
9. HP-UX
is there a way for my C++ application to find out which mode the hpux OS is running in?
standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am running ubuntu 14.04
My server has problems again. I need to manage system files in rescue mode, backup some files, edit /etc/crontab and rc.local files etc.
root@rescue:~# cat /proc/mdstat
Personalities :
md2 : active raid1 sda2 sdb2
4193216 blocks
md3 :... (4 Replies)
Discussion started by: baris35
4 Replies