Query disk write-caching settings

Irving, Dave dave.irving at logicacmg.com
Thu Jan 19 17:30:09 UTC 2006


Dave Irving Wrote:

> Hi,

>> Could anyone tell me if it is possible to query the 
>> current disk-write cache settings being employed? 
>> Im getting some suspiciously fast file synching 
>> going on and Im wondering whether this is the "cause" :o)

>Hmmm....
>I couldn't work out how to query it, so I had a go at just setting it
explicitly instead:

>Could any one tell me why this is likely to fail?
>If its any help, I also got the -i output from hdparm:

>hdparm -I /dev/had
>-/dev/hda:
>-Model=TSSTcorpCD-ROM TS-L162C, FwRev=N203, ...

Now im confused. So /dev/hda is the cdrom and Im looking at the wrong
device?
Had a look at /etc/fstab, and I've got something like this:

LABEL=/    /    ext3 defaults 1 1
...

So, do I need to work out what device this label represents and run
hdparm on that?
If so, how do I work out what device a label corresponds to?


Many thanks,

Dave


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




More information about the fedora-list mailing list