You are not logged in.

#26 2005-10-19 23:00:42

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: XFS defragment

Bloody hell!

Offline

#27 2005-10-19 23:17:15

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: XFS defragment

not all xfs_db commands result in a segfault, oddly enough.

sudo xfs_db -r /dev/sda6 -c 'freesp'
works just fine..

/me scratches head..


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#28 2005-11-06 10:43:07

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: XFS defragment

Hi,


According to http://www.opensuse.org/SUPER
XFS provides "fast algorithm and online defragmentation"


1.

I just read http://oss.sgi.com/projects/xfs/

=>

Online Administration

XFS supports filesystem growth for mounted volumes, allows filesystem "freeze" and "thaw" operations to support volume level snapshots, and provides an online file defragmentation utility.




2.

"fast algorithm "

compile XFS with
XFS noatime,nodiratime,logbufs=8 + mkfs.xfs -d agcount=45 -l size=64m





The question arises: "Are all those nifty things already included in Archlinux´s XFS binaries ?



Kin

Offline

#29 2005-11-09 17:44:42

jondkent
Member
From: London
Registered: 2005-09-13
Posts: 123

Re: XFS defragment

I found it odd that so many people here complained about XFS and fragmenting as I've used it for years and I've never had a problems, which is more than I can say for EXT3 or ReiserFS

The package is still broken btw.

Offline

#30 2005-11-14 00:41:39

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: XFS defragment

w00t. The patch suggested in the bugtracker, has fixed the package for me.
details here: Bugtracker link

My packaged version of the fix here: xfsprogs-2.7.3-2.pkg.tar.gz


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#31 2005-11-14 03:59:51

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: XFS defragment

cactus wrote:

w00t. The patch suggested in the bugtracker, has fixed the package for me.
details here: Bugtracker link

My packaged version of the fix here: xfsprogs-2.7.3-2.pkg.tar.gz

source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-$pkgver.src.tar.gz 
        compile-fix.patch frag.patch)

You attatched frag.patch, but where is compile-fix.patch?

Offline

#32 2005-11-14 04:30:45

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: XFS defragment

Use abs to get compile-fix.patch

Offline

#33 2005-11-14 06:18:07

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: XFS defragment

[root@dogma xfsprogs]# find /var/abs/ -name xfsprogs
/var/abs/local/xfsprogs
/var/abs/system/xfsprogs
[root@dogma xfsprogs]# ls /var/abs/system/xfsprogs/
PKGBUILD  compile-fix.patch

Got it, thasnks.

Offline

#34 2005-11-14 07:35:51

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: XFS defragment

yeah. i only included the files that differed.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#35 2006-10-27 15:31:56

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: XFS defragment

this is an old thread, i know...
but xfs_db segfaults here as well... only on my /home partition :

# xfs_db -c frag -r /dev/hdb2
Segmentation fault
# xfs_db -c frag -r /dev/hda2
actual 237060, ideal 236047, fragmentation factor 0.43%

it worked yesterday, prompting for about 25% fragmentation.


what goes up must come down

Offline

Board footer

Powered by FluxBB