Re: [CentOS] fsck mdraid root partition

2015-08-20 Thread Keith Keller
Apologies for the late reply; I only just saw this message today. On 2015-08-17, Bowie Bailey wrote: > It shows as /dev/md/2, while it is called /dev/md2 if I boot into the OS. It's possible that one is a symlink to the other. IIRC the /dev/md2 naming style is somewhat deprecated. If you can b

[CentOS] fsck mdraid root partition

2015-08-17 Thread Bowie Bailey
There are some errors on my root filesystem, so I need to fsck it. In order to do this while the filesystem is unmounted, I'm booting from the install disk. However, since the filesystem is on an mdraid device, I'm not sure of the right way to get it assembled so I can check it. If I do, mdad

Re: [CentOS] fsck - anyway to increase verbosity to show point in process

2013-04-10 Thread Santi Saez
El 09/04/13 20:41, Max Pyziur escribió: > And there is no indication how much of the process has been completed > (nothing like a %tage indicator), at least the way that I am running it. Tip: if you have already launched "fsck" you can recover the progress bar sending SIGUSR1 signal, see this be

Re: [CentOS] fsck - anyway to increase verbosity to show point in process

2013-04-09 Thread Max Pyziur
On Tue, 9 Apr 2013, m.r...@5-cent.us wrote: > Max Pyziur wrote: >> >> Greetings, >> >> I'm running CentOS 5.x on one ancient but reasonably reliable machine: > >> I am running some fsck's on some of the larger drives (750GB and 2TB) that >> are used for backups. There is a verbosity flag (-V); bu

Re: [CentOS] fsck - anyway to increase verbosity to show point in process

2013-04-09 Thread m . roth
Max Pyziur wrote: > > Greetings, > > I'm running CentOS 5.x on one ancient but reasonably reliable machine: > I am running some fsck's on some of the larger drives (750GB and 2TB) that > are used for backups. There is a verbosity flag (-V); but because of the > size of the drives along with slowne

[CentOS] fsck - anyway to increase verbosity to show point in process

2013-04-09 Thread Max Pyziur
Greetings, I'm running CentOS 5.x on one ancient but reasonably reliable machine: root@leeloo ~> uname -a Linux leeloo 2.6.18-308.24.1.el5 #1 SMP Tue Dec 4 17:42:30 EST 2012 i686 i686 i386 GNU/Linux root@leeloo ~> cat /proc/cpu cat: /proc/cpu: No such file or directory root@leeloo ~> cat /proc/c

Re: [CentOS] fsck -fvy ?

2012-09-30 Thread hadi motamedi
On 9/29/12, Andy Smith wrote: > On 29 September 2012 10:45, Hadi Motamedi wrote: > >> >> >> >> Dear All >> My server got inconsistency from sudden power cut that I fixed it with >> #fsck -fvy /dev/hda at the maintenance prompt . But after reboot, one of >> the installed applications is preventing

Re: [CentOS] fsck -fvy ?

2012-09-29 Thread Andy Smith
On 29 September 2012 10:45, Hadi Motamedi wrote: > > > > Dear All > My server got inconsistency from sudden power cut that I fixed it with > #fsck -fvy /dev/hda at the maintenance prompt . But after reboot, one of > the installed applications is preventing it from booting up (as can be seen > in

[CentOS] fsck -fvy ?

2012-09-29 Thread Hadi Motamedi
Dear All My server got inconsistency from sudden power cut that I fixed it with #fsck -fvy /dev/hda at the maintenance prompt . But after reboot, one of the installed applications is preventing it from booting up (as can be seen in the boot up process list). Can you please let me know how can

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Devin Reade
--On Thursday, April 12, 2012 10:38:56 PM +0200 Dennis Jacobfeuerborn wrote: > On 04/12/2012 08:17 PM, Devin Reade wrote: >> However, if you're using pacemaker the RA (IIRC) has the option >> of doing an 'fsck -p' before mounting. [...] > > "doing an 'fsck -p' before mounting" still means you h

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Dennis Jacobfeuerborn
On 04/12/2012 08:17 PM, Devin Reade wrote: > --On Thursday, April 12, 2012 03:17:37 PM +0200 Dennis Jacobfeuerborn > wrote: > >> On 04/12/2012 09:50 AM, Rafał Radecki wrote: >>> >>> I have two running servers (drbd primary, drbd secondary). When there is >>> a problem with one of them we switch t

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Devin Reade
--On Thursday, April 12, 2012 03:17:37 PM +0200 Dennis Jacobfeuerborn wrote: > On 04/12/2012 09:50 AM, Rafał Radecki wrote: >> >> I have two running servers (drbd primary, drbd secondary). When there is >> a problem with one of them we switch to the second one. [...] >> >> Is there a way to mak

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Dennis Jacobfeuerborn
On 04/12/2012 09:50 AM, Rafał Radecki wrote: > Hi All. > > I have two running servers (drbd primary, drbd secondary). When there is a > problem with one of them we switch to the second one. Currently on the > /dev/drbd0 (it has /xxx ext3 filesystem directly on it) we have some > filesystem problem

[CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Rafał Radecki
Hi All. I have two running servers (drbd primary, drbd secondary). When there is a problem with one of them we switch to the second one. Currently on the /dev/drbd0 (it has /xxx ext3 filesystem directly on it) we have some filesystem problems (after fsck -n). I would like to correct these errors b

Re: [CentOS] fsck

2012-01-27 Thread Les Mikesell
On Fri, Jan 27, 2012 at 2:21 PM, Johnny Hughes wrote: >> > The reason it is not the default in CentOS is because it is not the > default in RHEL. > > As to why it is not the default in RHEL, I can't say for sure ... BUT > ... -y (auto answer yes) is more dangerous that -p (preen).  The > definitio

Re: [CentOS] fsck

2012-01-27 Thread Johnny Hughes
On 01/27/2012 11:19 AM, Les Mikesell wrote: > On Fri, Jan 27, 2012 at 10:43 AM, Johnny Hughes wrote: >> On 01/25/2012 10:46 AM, Steve Clark wrote: >>> Hello, >>> >>> We are running units in the field that are headless. Sometimes we get units >>> returned >>> that we when we boot them up have some

Re: [CentOS] fsck

2012-01-27 Thread Steve Clark
On 01/27/2012 12:19 PM, Les Mikesell wrote: > On Fri, Jan 27, 2012 at 10:43 AM, Johnny Hughes wrote: >> On 01/25/2012 10:46 AM, Steve Clark wrote: >>> Hello, >>> >>> We are running units in the field that are headless. Sometimes we get units >>> returned >>> that we when we boot them up have some

Re: [CentOS] fsck

2012-01-27 Thread Steve Clark
On 01/27/2012 11:43 AM, Johnny Hughes wrote: > On 01/25/2012 10:46 AM, Steve Clark wrote: >> Hello, >> >> We are running units in the field that are headless. Sometimes we get units >> returned >> that we when we boot them up have some type of filesystem inconsistency that >> the default preen >>

Re: [CentOS] fsck

2012-01-27 Thread Les Mikesell
On Fri, Jan 27, 2012 at 10:43 AM, Johnny Hughes wrote: > On 01/25/2012 10:46 AM, Steve Clark wrote: >> Hello, >> >> We are running units in the field that are headless. Sometimes we get units >> returned >> that we when we boot them up have some type of filesystem inconsistency that >> the defau

Re: [CentOS] fsck

2012-01-27 Thread Johnny Hughes
On 01/25/2012 10:46 AM, Steve Clark wrote: > Hello, > > We are running units in the field that are headless. Sometimes we get units > returned > that we when we boot them up have some type of filesystem inconsistency that > the default preen > doesn't fix but running fsck -y does. > > I want to e

[CentOS] fsck

2012-01-25 Thread Steve Clark
Hello, We are running units in the field that are headless. Sometimes we get units returned that we when we boot them up have some type of filesystem inconsistency that the default preen doesn't fix but running fsck -y does. I want to eliminate the -p (preen option) and always do the -y option

Re: [CentOS] fsck - and there was much rejoicing

2010-12-01 Thread m . roth
Lamar Owen wrote: > On Wednesday, December 01, 2010 02:01:35 pm m.r...@5-cent.us wrote: >> Looks like the fsck bug has been stomped! I did a 960G drive this >> morning, >> and I'm 90% of the way through a 1.4T drive, both of which have *lots* >> of >> files and hard links, and it has *not* hung at

Re: [CentOS] fsck - and there was much rejoicing

2010-12-01 Thread Lamar Owen
On Wednesday, December 01, 2010 02:01:35 pm m.r...@5-cent.us wrote: > Looks like the fsck bug has been stomped! I did a 960G drive this morning, > and I'm 90% of the way through a 1.4T drive, both of which have *lots* of > files and hard links, and it has *not* hung at 70.1%, and is running at > re

[CentOS] fsck - and there was much rejoicing

2010-12-01 Thread m . roth
Looks like the fsck bug has been stomped! I did a 960G drive this morning, and I'm 90% of the way through a 1.4T drive, both of which have *lots* of files and hard links, and it has *not* hung at 70.1%, and is running at reasonable speed. Thanks to the folks who got this one. I *really* needed to

Re: [CentOS] Fsck on mdraid array - SOLVED

2010-07-23 Thread Jussi Hirvi
Hei, Ok, as many of you pointed out, the raid arrays did not start automatically on "linux rescue" boot (when not mounting the arrays). I followed Mogens' advice: I let linux rescue mount the arrays, then checked /etc/mtab and unmounted everything. After that fsck run ok. (Turned out the files

Re: [CentOS] Fsck on mdraid array

2010-07-22 Thread Mogens Kjaer
On 07/22/2010 10:38 AM, Jussi Hirvi wrote: ... > I still don't know why fsck from the rescue dvd does not work. You could try to let the rescue dvd mount the partitions. Then you can umount them and fsck. I don't think that the rescue disk assembles the RAID partitions unless they are going to b

Re: [CentOS] Fsck on mdraid array

2010-07-22 Thread Kay Diederichs
Jussi Hirvi schrieb: > Something seems to be wrong with my file systems, and I want to fsck > everything. But I cannot. > > The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot, > /, swap). OS is up-to-date CentOS 5. > > So I boot from CentOS 5.3 dvd in rescue mode, do not mo

Re: [CentOS] Fsck on mdraid array

2010-07-22 Thread Jussi Hirvi
> Are you using lvm on top of the mdraid? > > If so you need to fsck the lvs not the mds. No lvm's. I can boot the raid system, and cat /proc/mdstat shows clean arrays. The automatic fsck reported problems a while ago, and corrected them. When I now try to run certain rsync script, I ge

Re: [CentOS] Fsck on mdraid array

2010-07-21 Thread Gordon Messmer
On 07/21/2010 09:12 AM, Jussi Hirvi wrote: > > So I boot from CentOS 5.3 dvd in rescue mode, do not mount the file > systems, and try to run > fsck -y /dev/md0 > fsck -y /dev/md1 > fsck -y /dev/md2 > > For each try I get an error message: "Superblock could not be found..." > "The

Re: [CentOS] Fsck on mdraid array

2010-07-21 Thread Ross Walker
On Jul 21, 2010, at 12:12 PM, Jussi Hirvi wrote: > Something seems to be wrong with my file systems, and I want to fsck > everything. But I cannot. > > The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot, > /, swap). OS is up-to-date CentOS 5. > > So I boot from CentOS 5.3

Re: [CentOS] Fsck on mdraid array

2010-07-21 Thread Arun Khan
On Wed, Jul 21, 2010 at 9:42 PM, Jussi Hirvi wrote: > Something seems to be wrong with my file systems, and I want to fsck > everything. But I cannot. > > The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot, > /, swap). OS is up-to-date CentOS 5. > > So I boot from CentOS 5.3 d

[CentOS] Fsck on mdraid array

2010-07-21 Thread Jussi Hirvi
Something seems to be wrong with my file systems, and I want to fsck everything. But I cannot. The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot, /, swap). OS is up-to-date CentOS 5. So I boot from CentOS 5.3 dvd in rescue mode, do not mount the file systems, and try to r

Re: [CentOS] fsck problems

2010-03-23 Thread Todd Denniston
m.r...@5-cent.us wrote, On 03/23/2010 09:49 AM: >> sync wrote: >>> Thanks for all replies . >>> >>> Today, I did the following things,and also met the other errror message: > >>> Then, reboot the server and then boot it from the hard disk. >>> >>> This time, the screen came up with these: >>> >>>

Re: [CentOS] fsck problems

2010-03-23 Thread m . roth
> sync wrote: >> Thanks for all replies . >> >> Today, I did the following things,and also met the other errror message: >> Then, reboot the server and then boot it from the hard disk. >> >> This time, the screen came up with these: >> >> Checking root filesystem: >> -

Re: [CentOS] fsck problems

2010-03-23 Thread Les Mikesell
sync wrote: > Thanks for all replies . > > Today, I did the following things,and also met the other errror message: > > First, I used the CentOS 4.6 DVD to boot for the linux rescue and then > i copy all data to the another server > > Then, reboot the server and then boot it from the hard di

Re: [CentOS] fsck problems

2010-03-23 Thread sync
Thanks for all replies . Today, I did the following things,and also met the other errror message: First, I used the CentOS 4.6 DVD to boot for the linux rescue and then i copy all data to the another server Then, reboot the server and then boot it from the hard disk. This time, the screen ca

Re: [CentOS] fsck problems

2010-03-22 Thread Robert Nichols
On 03/22/2010 08:33 PM, sync wrote: > Well , Thanks for your suggestions. > > 1.Which kind of file system is being used on the volume having trouble? > A: it uses the ext2fs filesystem on CentOS 4.6 x86_64 > > 2.Do you have backups? > A: that server is used to backup other servers data , so its

Re: [CentOS] fsck problems

2010-03-22 Thread Les Mikesell
sync wrote: > Well , Thanks for your suggestions. > > 1.Which kind of file system is being used on the volume having trouble? > A: it uses the ext2fs filesystem on CentOS 4.6 x86_64 > > 2.Do you have backups? > A: that server is used to backup other servers data , so itself has not > any bac

Re: [CentOS] fsck problems

2010-03-22 Thread sync
Well , Thanks for your suggestions. 1.Which kind of file system is being used on the volume having trouble? A: it uses the ext2fs filesystem on CentOS 4.6 x86_64 2.Do you have backups? A: that server is used to backup other servers data , so itself has not any backups 3.Is the volume small e

Re: [CentOS] fsck problems

2010-03-22 Thread Eero Volotinen
2010/3/22 sync : > Thanks  for all reply... > > > Because the boss don't let me do that . > He said that would be dangerous and it would destroy all data in  the  hard > disk Well, then restore files from backups. -- Eero ___ CentOS mailing list CentOS

Re: [CentOS] fsck problems

2010-03-22 Thread Todd Denniston
sync wrote, On 03/22/2010 05:11 AM: > Thanks for all reply... > > A) as Nicolas HINTED please read the _text_ that follows "Guidelines for CentOS Mailing List posts" at http://www.centos.org/modules/tinycontent/index.php?id=16 B) as time permits read the links in that section, I think the one

Re: [CentOS] fsck problems

2010-03-22 Thread sync
Thanks for all reply... Because the boss don't let me do that . He said that would be dangerous and it would destroy all data in the hard disk On Mon, Mar 22, 2010 at 4:03 PM, Nicolas Thierry-Mieg < nicolas.thierry-m...@imag.fr> wrote: > sync wrote: > > run fsck manually without a or p

Re: [CentOS] fsck problems

2010-03-22 Thread Nicolas Thierry-Mieg
sync wrote: > run fsck manually without a or p options? > > Not yet ~ why not? > i searched it via Google and found this website : > http://www.experts-exchange.com/OS/Linux/Distributions/Red_Hat/Q_25043629.html > > i do that said but this time screen displayed this : try reading the botto

Re: [CentOS] fsck problems

2010-03-22 Thread sync
Not yet ~ i searched it via Google and found this website : http://www.experts-exchange.com/OS/Linux/Distributions/Red_Hat/Q_25043629.html i do that said but this time screen displayed this : /dev/VolGroup00/LogVol00 : faild Inodes that were part of a corrupted or phan linked list found . .

Re: [CentOS] fsck problems

2010-03-21 Thread Eero Volotinen
2010/3/22 sync : > hi , guys: > > >  when i reboot the server today ,the screen displays this ; > > --- > Setting hostname xxx  [OK] > > Your system appears to have shut down uncleanly > Press Y within 1 seconds to

[CentOS] fsck problems

2010-03-21 Thread sync
hi , guys: when i reboot the server today ,the screen displays this ; --- Setting hostname xxx [OK] Your system appears to have shut down uncleanly Press Y within 1 seconds to force file system integrity check

Re: [CentOS] fsck file system is mounted

2009-05-16 Thread Lanny Marcus
On 5/16/09, cen...@911networks.com wrote: > Is there a way to run fsck or any other program to check if there is > drive problem. I don't want it repaired, now, but maybe later on. > > I can't shutdown the system and reboot in single user-mode. > > All suggestions are welcomed. In the 7 1/2 years

Re: [CentOS] fsck while file system is mounted

2009-05-16 Thread Lanny Marcus
On Sat, May 16, 2009 at 2:39 PM, Les Mikesell wrote: > cen...@911networks.com wrote: >> On Sat, 16 May 2009 21:18:17 +0200 >> Equinox86 wrote: >> >>> mmm why you not reboot? >> >> Because to reboot, I will need the authorization of 3 different >> people. Don't ask, they are having major "politica

Re: [CentOS] fsck file system is mounted

2009-05-16 Thread Ross Walker
On Sat, May 16, 2009 at 2:51 PM, wrote: > Hi, > > Is there a way to run fsck or any other program to check if there is > drive problem. I don't want it repaired, now, but maybe later on. > > I can't shutdown the system and reboot in single user-mode. > > All suggestions are welcomed. This URL ha

Re: [CentOS] fsck file system is mounted

2009-05-16 Thread William L. Maltby
On Sat, 2009-05-16 at 11:51 -0700, cen...@911networks.com wrote: > Hi, > > Is there a way to run fsck or any other program to check if there is > drive problem. I don't want it repaired, now, but maybe later on. > > I can't shutdown the system and reboot in single user-mode. > > All suggestions

Re: [CentOS] fsck while file system is mounted

2009-05-16 Thread Les Mikesell
cen...@911networks.com wrote: > On Sat, 16 May 2009 21:18:17 +0200 > Equinox86 wrote: > >> mmm why you not reboot? > > Because to reboot, I will need the authorization of 3 different > people. Don't ask, they are having major "political" fights between > 2 divisions. You really need to arrange

Re: [CentOS] fsck file system is mounted

2009-05-16 Thread Robert Nichols
cen...@911networks.com wrote: > Hi, > > Is there a way to run fsck or any other program to check if there is > drive problem. I don't want it repaired, now, but maybe later on. > > I can't shutdown the system and reboot in single user-mode. > > All suggestions are welcomed. You can run fsck wit

Re: [CentOS] fsck while file system is mounted

2009-05-16 Thread centos
On Sat, 16 May 2009 21:18:17 +0200 Equinox86 wrote: > mmm why you not reboot? Because to reboot, I will need the authorization of 3 different people. Don't ask, they are having major "political" fights between 2 divisions. -- Thanks http://www.911networks.com When the network has to work _

Re: [CentOS] fsck file system is mounted

2009-05-16 Thread Equinox86
mmm why you not reboot? you can set the service you wan in init 1 and go it 2009/5/16 > Hi, > > Is there a way to run fsck or any other program to check if there is > drive problem. I don't want it repaired, now, but maybe later on. > > I can't shutdown the system and reboot in single user-mode

[CentOS] fsck file system is mounted

2009-05-16 Thread centos
Hi, Is there a way to run fsck or any other program to check if there is drive problem. I don't want it repaired, now, but maybe later on. I can't shutdown the system and reboot in single user-mode. All suggestions are welcomed. -- Thanks http://www.911networks.com When the network has to work

RE: [CentOS] fsck

2008-02-13 Thread Ross S. W. Walker
Centos wrote: > > Hello > > our server is crashed and now some files are missing. > when I do ls, I can see the file but when I do ls -la, file does not > show up. > > I am going to do fsck, but was wondering if there is any > other quick fix > rather > than umount and do fsck. Fsck is a nec

[CentOS] fsck

2008-02-13 Thread Centos
Hello our server is crashed and now some files are missing. when I do ls, I can see the file but when I do ls -la, file does not show up. I am going to do fsck, but was wondering if there is any other quick fix rather than umount and do fsck. Thanks _

Re: [CentOS] FSCK

2007-08-10 Thread Steve Rigler
On Fri, 2007-08-10 at 06:33 -0300, centos wrote: > I thought we have 2 Tera Byte limitation on RAID 5. > were you be able to make RAID more than 2 Tera Byte ? > AFAIK, the limit is on the size of the LUN, not RAID 5 in general. -Steve ___ CentOS mailin

Re: [CentOS] FSCK

2007-08-10 Thread Peter Kjellstrom
On Friday 10 August 2007, centos wrote: > I thought we have 2 Tera Byte limitation on RAID 5. > were you be able to make RAID more than 2 Tera Byte ? Hardware raid5 is limited by the driver you use and the controller. Software raid5 is not limited to 2 TiB. On top of that you have to sort out th

Re: [CentOS] FSCK

2007-08-10 Thread centos
I thought we have 2 Tera Byte limitation on RAID 5. were you be able to make RAID more than 2 Tera Byte ? Dan Halbert wrote: Dan Dansereau wrote: Hello I have a newbie question, given a centos 5 installation, An 5 very large disk arrays ( 2.5Tbytes each ) - Is there a way to suspend or stop th

Re: [CentOS] FSCK

2007-08-09 Thread Dan Halbert
Dan Dansereau wrote: Hello I have a newbie question, given a centos 5 installation, An 5 very large disk arrays ( 2.5Tbytes each ) - Is there a way to suspend or stop the fsck during the boot up? To stop it in the future: # tune2fs -c 0 -i 0 /dev/sda1 # or whatever device See the

Re: [CentOS] FSCK

2007-08-09 Thread Johnny Hughes
Dan Dansereau wrote: > Hello > I have a newbie question, given a centos 5 installation, > An 5 very large disk arrays ( 2.5Tbytes each ) - > > Is there a way to suspend or stop the fsck during the boot up? > > The system seems to pick the most inopportune time to decide to reach > the check coun

[CentOS] FSCK

2007-08-09 Thread Dan Dansereau
Hello I have a newbie question, given a centos 5 installation, An 5 very large disk arrays ( 2.5Tbytes each ) - Is there a way to suspend or stop the fsck during the boot up? The system seems to pick the most inopportune time to decide to reach the check count limit... and with this many disks,