LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2004, 04:35 AM   #16
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30

It was a pain but I had reiser4 tools liball reiser4progs installed along with mm4 kernel... which allowed me to read & write to hdb1 (reiser4 partition) provided its mounted

created mount point /mnt/hdb1....

of course then you run lilo & it knows where to look for vmlinuz.....

http://www.namesys.com/

for reiser4 tools...

Dave T.
 
Old 09-05-2004, 09:58 AM   #17
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
I think I would have taken the lazy route and swapped the drives physically, installing lilo on the new /dev/hda1 (changing /etc/fstab to reflect this, of course). But that's me. Good job!
 
Old 09-05-2004, 12:35 PM   #18
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
I guess this whole thing was an answer to the comment earlier about the versatility of Linux. There were several ways to solve this problem.
 
Old 09-05-2004, 12:42 PM   #19
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Changing drives lol ... never thought of that ...

hda is 80Gb with a 8mb cache

hdb is 40Gb with a 2mb cache

Thing is I thought that I would just use hdb for back up ....but now I'm thinking use it for testing stuff kernels etc...

At least that way If I manage to break it (normal) then I will just boot into my other drive

Thanks for all your help

Have a beer on me ....

Dave T.
 
Old 09-09-2004, 06:59 PM   #20
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
BTW,hard facts here:

I timed my partitions with "hdparm -tT". My results, to satisfy those who wanna know differences...

My drive -

/dev/hda1 - ntfs
/dev/hda5 - ext2 (small /boot - too small to bench)
/dev/hda6 - swap
/dev/hda7 - reiser4
/dev/hda8 - xfs
/dev/hda9 - fat32

machine: AMD Duron 800/384mb/ata100 controller onboard/80 wire cable/Maxtor DiamondMax8 (2mb cache). Here are the speeds -

Code:
sparky ~ # hdparm -tT /dev/hda1

/dev/hda1:
 Timing cached reads:   744 MB in  2.01 seconds = 370.94 MB/sec
 Timing buffered disk reads:   80 MB in  3.12 seconds =  25.61 MB/sec
sparky ~ # hdparm -tT /dev/hda2

/dev/hda2:
read(2097152) returned 1024 bytes
 Timing buffered disk reads:  read() hit EOF - device too small
sparky ~ # hdparm -tT /dev/hda3
/dev/hda3: No such file or directory
sparky ~ # hdparm -tT /dev/hda4
/dev/hda4: No such file or directory
sparky ~ # hdparm -tT /dev/hda5

/dev/hda5:
 Timing cached reads:   736 MB in  2.01 seconds = 366.77 MB/sec
 Timing buffered disk reads:  read(2097152) returned 1278464 bytes
sparky ~ # hdparm -tT /dev/hda6

/dev/hda6:
 Timing cached reads:   744 MB in  2.01 seconds = 370.21 MB/sec
 Timing buffered disk reads:  126 MB in  3.01 seconds =  41.92 MB/sec
sparky ~ # hdparm -tT /dev/hda7

/dev/hda7:
 Timing cached reads:   748 MB in  2.01 seconds = 372.57 MB/sec
 Timing buffered disk reads:  142 MB in  3.04 seconds =  46.64 MB/sec
sparky ~ # hdparm -tT /dev/hda8

/dev/hda8:
 Timing cached reads:   740 MB in  2.00 seconds = 369.32 MB/sec
 Timing buffered disk reads:  116 MB in  3.01 seconds =  38.48 MB/sec
sparky ~ # hdparm -tT /dev/hda9

/dev/hda9:
 Timing cached reads:   740 MB in  2.01 seconds = 368.40 MB/sec
 Timing buffered disk reads:  118 MB in  3.05 seconds =  38.68 MB/sec
conclusion?my swap (no fs) and the reiser4 are tops. Reiser4 is fastest fs on the disk. xfs trails and is around the same as fat32. ntfs (that would be version 5 on winxp) is dead last. Ignore /dev/hda2, 3 and 4,as they are just the extended partition place markers (yes, I partitioned with only 2 primaries by accident - it happens to everyone).

If anyone has a similar machine spec and wants to add a value for reiser 3.6 and ext3, we'd be fairly complete (don't know anyone using jfs). BTW kernel is Gentoo 2.6.8.1-r6 with -ck patch, compiled with USE flags for the athlon/duron/k7 processor, FYI.
 
Old 09-10-2004, 03:59 AM   #21
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
I would be interested in seeing tests done on different file systems including reiser4 (don't believe the hype)

Maybe using bonnie++ would be better than hdparm ???

May I suggest starting a new thread to get more feedback...

Dave T.
 
Old 09-10-2004, 04:00 PM   #22
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Yes, hdparm doesn't test file systems, just raw disk sectors. Some of the differences are due to the location of the sectors on the hard drive. The ones ones at the edge of the disk read faster than the ones in the center because more of them fly by per revolution of the disk.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lilo 2 drives - want to change boot drive Neze Slackware 11 12-06-2004 04:53 PM
How to config lilo to boot from two Hard Drives. mlsbraves Linux - General 4 09-13-2004 09:16 PM
Lilo boot on two hard drives tr0j4n Linux - Newbie 5 02-16-2004 02:37 AM
how-to for using lilo to boot two separate drives jackopa Linux - General 4 04-19-2002 03:39 PM
how to use lilo to boot between IDE & SCSI drives jackopa Linux - General 0 04-15-2002 01:18 AM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration