From: lrhorer on

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"?


--
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/FLSdnVftgaepXGjWnZ2dnUVZ_oGdnZ2d(a)giganews.com
From: Tyler MacDonald on
It looks like the tool is called "xfs_repair", and is part of the "xfsprogs"
package.

http://packages.debian.org/search?searchon=contents&keywords=xfs_repair&mode=exactfilename&suite=testing&arch=any

Cheers,
Tyler


lrhorer <lrhorer(a)satx.rr.com> wrote:
>
> 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"?
>
>
> --
> 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/FLSdnVftgaepXGjWnZ2dnUVZ_oGdnZ2d(a)giganews.com
>

--


--
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/20100520233208.GI8271(a)yi.org
From: Mark Allums on
On 5/20/2010 6:09 PM, lrhorer wrote:
>
> 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"?
>
>


If xfsprogs is installed, then I think fsck will do it, just first run
something like:

tune2fs -C912 /dev/sda3

and reboot, where C is the Capital 'C', 912 is some number larger than
the current maximum mount count (before automatically fsck'ing) and
substitute your actual device path for the /dev/sda3 I used as an
example.

I think xfsprogs has some other tools as well.

Oh wait, I reread your question.


If the machine is in working order, you can just do:

#apt-get install xfsprogs

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'm unsure, does the Debian squeeze installer 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/4BF5DAE7.9060002(a)allums.com
From: lrhorer on

Thanks!

> It looks like the tool is called "xfs_repair", and is part of the
> "xfsprogs" package.
>
>
http://packages.debian.org/search?searchon=contents&keywords=xfs_repair&mode=exactfilename&suite=testing&arch=any
>
> Cheers,
> Tyler
>
>
> lrhorer <lrhorer(a)satx.rr.com> wrote:
>>
>> 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"?
>>
>>
>> --
>> 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/FLSdnVftgaepXGjWnZ2dnUVZ_oGdnZ2d(a)giganews.com
>>
>


--
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/FLSdnVbtgacYRmjWnZ2dnUVZ_oEAAAAA(a)giganews.com
From: Robert Brockway on
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.

Cheers,

Rob


--
Email: robert(a)timetraveller.org Linux counter ID #16440
IRC: Solver (OFTC & Freenode)
Web: http://www.practicalsysadmin.com
Open Source: The revolution that silently changed the world


--
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/alpine.DEB.1.10.1005202227270.7760(a)castor.opentrend.net