Solved

Anyway to forego the fsck before resize2fs?

Posted on 2012-04-10
2
1,062 Views
Last Modified: 2012-04-10
I have a server with a 4TB lun completely full of files that needs to be re-sized. The storage team added the extra storage but unfortunately the system got hosed and had to be hard booted... I want to now resize the ext3 filesystem but it is asking to do:

[root@server~]# resize2fs /dev/volume_vg/v1 
resize2fs 1.39 (29-May-2006)
Please run 'e2fsck -f /dev/volume_vg/v1' first.

Open in new window


Any way to forego this check?
0
Comment
Question by:Thaidog
2 Comments
 
LVL 87

Expert Comment

by:rindi
ID: 37827064
It's unsafe to do without the fsck first, as you probably have file-system errors that need to be fixed first, particularly as the system was hard-booted. Not doing this you may loose data or your system. Of course it'll probably take time on 4TB, but I'm afraid you'll need to wait.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 37827069
Can you mount the FS?

Should you get the same or a similar message when trying to mount an fsck is imperatively required.

If the mount is successful try resizing the FS "online".

Again, if you still see the same message you must run an fsck.

And of course, to be on the safe side you should really take the time to run the check!

wmp
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now