Solved

Anyway to forego the fsck before resize2fs?

Posted on 2012-04-10
2
1,158 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 88

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

738 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