Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I move XFS partitions ??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Tealc
n00b
n00b


Joined: 13 May 2002
Posts: 15

PostPosted: Fri May 17, 2002 1:49 pm    Post subject: Can I move XFS partitions ?? Reply with quote

I've some partitions for SuSE Linux but since I've installed Gentoo Linux they're worthless for me. Now I would like to know if I can move the XFS partition (which contains the Gentoo Linux) to the beginning of the harddisk (after deleting the other partions) without getting problems. ??

Best regards,
Tealc
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri May 17, 2002 5:54 pm    Post subject: Re: Can I move XFS partitions ?? Reply with quote

Tealc wrote:
Now I would like to know if I can move the XFS partition (which contains the Gentoo Linux) to the beginning of the harddisk (after deleting the other partions) without getting problems. ??


I'm not aware of any re-partitioning tools that will work with XFS. Parted won't work and, AFAIK, even the commercial apps don't work (Partition Magic, etc.) Not sure about that, though.

However, why do you want/need to move the partitions? If they're working now, they won't work any better if you move them to another location on your hard drive. You could just delete the suse partitions and recreate a new XFS/ext3/reiserfs/whatever partition(s) for gentoo.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Guest






PostPosted: Fri May 17, 2002 10:59 pm    Post subject: Reply with quote

Many harddisks are faster on the beginning of the medium.
Back to top
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri May 17, 2002 11:16 pm    Post subject: Reply with quote

Anonymous wrote:
Many harddisks are faster on the beginning of the medium.


Sure -- with the difference being measured in milliseconds. And unless you're defragging on a daily basis, any benefit obtained with repartitioning will be wiped out because of the multiple seeks.

Sorry, but that theory just doesn't fly.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sat May 18, 2002 5:15 am    Post subject: Reply with quote

klieber wrote:
Anonymous wrote:
Many harddisks are faster on the beginning of the medium.


Sure -- with the difference being measured in milliseconds. And unless you're defragging on a daily basis, any benefit obtained with repartitioning will be wiped out because of the multiple seeks.

Sorry, but that theory just doesn't fly.


I've seen my disk vary by a few MB/s when I run hdparm -t on a partition at the beginning versues a vs a partition at the end.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sat May 18, 2002 10:29 am    Post subject: Reply with quote

Nitro wrote:
I've seen my disk vary by a few MB/s when I run hdparm -t on a partition at the beginning versues a vs a partition at the end.

Code:

M3:/var# hdparm -t /dev/hda1

/dev/hda1:
 Timing buffered disk reads:  64 MB in  1.70 seconds = 37.65 MB/sec
M3:/var# hdparm -t /dev/hda1

/dev/hda1:
 Timing buffered disk reads:  64 MB in  1.64 seconds = 39.02 MB/sec
M3:/var# hdparm -t /dev/hda1

/dev/hda1:
 Timing buffered disk reads:  64 MB in  1.76 seconds = 36.36 MB/sec
M3:/var# hdparm -t /dev/hda1

/dev/hda1:
 Timing buffered disk reads:  64 MB in  1.95 seconds = 32.82 MB/sec
M3:/var#


disk reads can vary depending on a lot of things -- the above commands were all run on the same partition within 60 seconds of one another with a ~6MB/s variance in read times.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sun May 19, 2002 12:32 am    Post subject: Reply with quote

I did some more tests, and you are right. :oops:

But so am I to a point, but the difference was on average less then one MB/s, and that doesn't really matter now does it. :roll:

I think I need a new harddrive too. My server's HD blows the hell outta this one. Guess I need a job first though huh?
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun May 19, 2002 12:50 am    Post subject: Reply with quote

Nitro wrote:
I think I need a new harddrive too.


The Western Digital WD1200JB is supposed to be the king of the performance hill these days, at least for 7200RPM IDE drives. With its 8MB buffer (compared to 2MB for most other IDE drives) its able to push data through at a pretty pace.

Of course, if you don't want your computer to sound like a jet aircraft, you might go for the Seagate Barracuda IV. It doesn't have quite the performance of the WD, but it's by far the quietest drive on the market and has respectable performance to boot. (that's the drive that posted those hdparm numbers I quoted above.)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 29, 2002 3:50 am    Post subject: Reply with quote

I couldn't help it, but look: http://www4.tomshardware.com/storage/02q1/020305/wd1200-04.html#data_transfer_rates_almost_50_mbs

Look at the first graph, seems that speeds do vary by about 15MB/s from beginning to end on the 120GB HD you recommended (I think I'm going to buy it 8), prolly two of em).

Seems like your disk is lagging a little behind their test disk. :roll:
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Wed May 29, 2002 11:27 am    Post subject: Reply with quote

Nitro wrote:
Seems like your disk is lagging a little behind their test disk. :roll:


Is it? I'm not sure how hdparm does its reads. Seems like the minimum read speed for the Seagate was ~27MB/s and the max was ~42MB. My reads are anywhere from ~33MB/s to ~39MB/s, which seems to be right in the middle, which would seem right assuming hdparm is reading from random places on the hard drive. (then again, like I said, I don't know how hdparm does its reads) If you've got any tuning tips, let me know. :)

For me, a quiet hard drive with decent performance is much more important than a high-performance hard drive that makes a great deal of noise. In that respect, the Barracuda IV is perfect for me. (Now, if they'd just release a 120GB or even a 160GB version...)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 29, 2002 8:27 pm    Post subject: Reply with quote

klieber wrote:
In that respect, the Barracuda IV is perfect for me. (Now, if they'd just release a 120GB or even a 160GB version...)


I mis-understood you then, I read it as if you has the WD drive.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum