From: Ron Johnson on
On 05/20/2010 07:59 PM, Mark Allums wrote:
[snip]
>
> If xfsprogs is installed, then I think fsck will do it, just first run
> something like:
>
> tune2fs -C912 /dev/sda3
>

Except that tune2fs is only for ext[234] filesystems.

--
Dissent is patriotic, remember?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BF5F4CA.50604(a)cox.net
From: Stan Hoeppner on
lrhorer put forth on 5/20/2010 6:09 PM:
>
> OK, I'm stumped. I was having some problems which were likely related
> to the old kernel in Debian "Lenny", so I upgraded to "Squeeze" in
> order to alleviate the issue, which it apparently has. Now, however, I
> need to fsck the main array on the box, which is formatted as XFS. The
> xfs-repair utility is not on the upgraded system. (I was forced to do
> a fresh install of the boot drive.) How can I obtain the XFS file
> utilities - particularly xfs-repair - under "Squeeze"?

Unless you're seeing XFS errors in your logs or on the console you don't
need to run xfs_check or xfs_repair. Typically these tools are only used
when an XFS filesytem becomes damaged badly enough that it won't mount, or
when XFS logs serious errors.

For the most part XFS is self healing but for the most serious errors, which
usually result from defective disk and/or controller hardware. XFS journal
replay after power outages and kernel panics will either delete or zero
files and directories that weren't fully written at the time of the crash,
but the XFS filesystem itself will be fully intact.

What is it that leads you to believe you need to perform a filesystem check
or repair on your XFS filesystem?

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BF63D03.2060109(a)hardwarefreak.com
From: Mark Allums on
On 5/20/2010 9:49 PM, Ron Johnson wrote:
> On 05/20/2010 07:59 PM, Mark Allums wrote:
> [snip]
>>
>> If xfsprogs is installed, then I think fsck will do it, just first run
>> something like:
>>
>> tune2fs -C912 /dev/sda3
>>
>
> Except that tune2fs is only for ext[234] filesystems.
>

Really? Well, I expect XFS has a substitute. If not, it should.


Does shutdown -rF now work?

Does touch /forcefsck (as root) work?

What works?

MAA


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BF72301.6000306(a)allums.com
From: Mark Allums on
On 5/20/2010 9:32 PM, Robert Brockway wrote:
> On Thu, 20 May 2010, Mark Allums wrote:
>
>> If not, then a live CD will be needed, something like Knoppix, be sure
>> it has XFS support. Just boot the live CD or DVD, and Bob's your uncle.
>
> I was going to suggest a live cdrom too but remember that Debian has its
> own live cdroms. I've been using them in preference to Knoppix for
> rescuing Debian systems due to binary compatibility problems. I've got
> as lot of AMD64 Debian systems and Knoppix is i386 only.


The current Knoppix is alleged to be 100% binary compatible, beyond some
kernel modules which are specific to the running kernel (which is always
the case, even with official Debian).

64-bit Knoppix is in the TODO list of Klaus Knopper, but for rescue
purposes, 32-bit should be able to do the job.

I agree that Debian itself would be best, that's why I asked about the
installer, in rescue mode (found on disc 1 one of a standard Debian CD
or DVD).

Does disc 1 of a distribution set fully support XFS?

MAA



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BF7272D.90004(a)allums.com
From: Stan Hoeppner on
Mark Allums put forth on 5/21/2010 7:37 PM:

> 64-bit Knoppix is in the TODO list of Klaus Knopper, but for rescue
> purposes, 32-bit should be able to do the job.

This is incorrect _if_ the filesystem is large and thus contains 64 bit inode
numbers. If there is any remote possibility that 64 bit inodes exist on the
XFS filesystem to be checked/repaired, the rescue kernel and xfsprogs need to
be 64 bit binaries.

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BF78649.1020208(a)hardwarefreak.com