RE: Beginner questions about hdparm

2005-12-07 Thread David Lockwood
> No idea if this works on SATA, but there is an sdparm. > http://sg.torque.net/sg/sdparm.html > > -- > Archaic > Thanks. I've been playing with that. Actually some of hdparm still works, the error messages are expected and apparently harmless. Sdparm has no benchmark option. There are kernel

Re: Beginner questions about hdparm

2005-12-07 Thread Archaic
On Wed, Dec 07, 2005 at 05:06:04PM +1000, David Lockwood wrote: > > Well that didn't take long. Hdparm is not for SATA at all. No idea if this works on SATA, but there is an sdparm. http://sg.torque.net/sg/sdparm.html -- Archaic Want control, education, and security from your operating system

Re: Beginner questions about hdparm

2005-12-07 Thread Simon Geard
On Tue, 2005-12-06 at 17:17 +, Ken Moffat wrote: > Sounds more like 'insane' than 'dangerous' - ignoring possible kernel > issues (it really doesn't expect normal IDE drives to go away, some > kernels might accept it, others might not), there is the possibility of > trashing the chips in t

RE: Beginner questions about hdparm

2005-12-06 Thread David Lockwood
> # hdparm -i /dev/sda > > /dev/sda: > HDIO_GET_IDENTITY failed: Inappropriate ioctl for device > I'll be looking into this. Well that didn't take long. Hdparm is not for SATA at all. Interesting that hdparm -Tt /dev/sda still works. I wonder if it is still meaningful. Keen to see if performa

RE: Beginner questions about hdparm

2005-12-06 Thread David Lockwood
> Of Ken Moffat > I think this *might* be controlled by one of the SCSI > transport options > - there is some sort of deprecated option that conflicts with > SATA, but I'm on a ppc at the moment and I can't see it. I'd noticed this deprecated option ("conflicts with libata") but never bother

RE: Beginner questions about hdparm

2005-12-06 Thread David Lockwood
> > alter /etc/fstab - everything else should be OK I think? > > Well, I could attempt to read your mind to determine what you are > subconsciously worrying about, but I think I'll just say > "yes" :) Oh, root= for your bootloader will need to refer to sdaX. See - it was worth asking! I woul

Re: Beginner questions about hdparm

2005-12-06 Thread Ken Moffat
On Wed, 7 Dec 2005, David Lockwood wrote: (i) is this a SATA drive ? If it is, you should be using libata (under SCSI) in the kernel, and /dev/sda. This is something I'd been wondering about and is probably my real problem. Yes this is a SATA drive and that's all I have. My other linux di

Re: Beginner questions about hdparm

2005-12-06 Thread David Lockwood
Thanks for helpful replies. Randy McMurchy wrote: > There is a *warning* on the HDParm page in BLFS that says: > "Use with caution and make sure you know what you are doing." > If you need to be asking the above questions to a support list, > I'm not sure you qualify to the "make sure you know w

Re: Beginner questions about hdparm

2005-12-06 Thread Ken Moffat
On Tue, 6 Dec 2005, Brandin Creech wrote: . I've also used the "deregester IDE channel" hdparm option before and was able to unplug and swap out an IDE hard disk while the system was running. Very cool (and also listed as "dangerous"). Yes, it is dangerous, but I found it very instructive. If yo

Re: Beginner questions about hdparm

2005-12-06 Thread Brandin Creech
--- David Lockwood <[EMAIL PROTECTED]> wrote: > i.e. dma wasn't turned on at all. > So as a newbie I follow a few leads on hd optimising among the few > options not listed as dangerous in man hdparm and settle on > # hdparm -c 1 -X udma2 > and transfer rate increased to about 2.8MB/s. hdparm -c

Re: Beginner questions about hdparm

2005-12-06 Thread Joerg Balsiger
--- Ken Moffat <[EMAIL PROTECTED]> wrote: > On Tue, 6 Dec 2005, David Lockwood wrote: > > > Hi. Just starting to investigate the joys of hdparm. I was doing some > > data shifting between partitions and noticed (using mc, runlevel 3) > > that the data transfer rate was only about 1.5MB/s (copyi

Re: Beginner questions about hdparm

2005-12-06 Thread Ken Moffat
On Tue, 6 Dec 2005, David Lockwood wrote: Hi. Just starting to investigate the joys of hdparm. I was doing some data shifting between partitions and noticed (using mc, runlevel 3) that the data transfer rate was only about 1.5MB/s (copying from an ntfs partition to a reiserfs). Here's the output

Re: Beginner questions about hdparm

2005-12-06 Thread Stefan Krah
David Lockwood <[EMAIL PROTECTED]> wrote: > i.e. dma wasn't turned on at all. > So as a newbie I follow a few leads on hd optimising among the few > options not listed as dangerous in man hdparm and settle on > # hdparm -c 1 -X udma2 > and transfer rate increased to about 2.8MB/s. I have had thi

Re: Beginner questions about hdparm

2005-12-06 Thread Randy McMurchy
David Lockwood wrote these words on 12/06/05 06:26 CST: > Hi. Just starting to investigate the joys of hdparm. > > Questions: > 1. Just after this I got some corruption problems on my windows (ntfs) > partition. > > Is there some > obvious optimisation missing? > > Any idea why mine isn't wor