Re: [gentoo-user] Re: Accidentally issued hdparm -X /dev/hda on running system
I have since fsck'ed all relevant partitions in /dev/hda and they came up clean. Am I safe? Hmm, I'd say yes. I mean, in what way should using hdparm really mess up your partitions or Filesystems in such a way, that they'd be beyond recovery?! I'm not implying that you could be facing a recovery-situation, but you'll only find out by trying. If the shit hits the fan, Testdisk (its included on the gparted live cd) is a really fine program, and has saved me multiple times now, after I did unspeakable things to my partition tables, which alas is far worse than using hdparm ;-P Holding my thumbs! Tom
Re: [gentoo-user] Re: Accidentally issued hdparm -X /dev/hda on running system
On Thu, 2 Apr 2009 11:23:55 +0200 Tom uebersh...@googlemail.com wrote: I have since fsck'ed all relevant partitions in /dev/hda and they came up clean. Am I safe? Hmm, I'd say yes. I mean, in what way should using hdparm really mess up your partitions or Filesystems in such a way, that they'd be beyond recovery?! I have been using the system and it seems fine. I still would like some hdparm guru to tell me the none of my data has been silently corrupted. Thank you for your attention. Cheers, Jorge -- Software is like sex: it is better when it is free. --Linus Torvalds
[gentoo-user] Re: Accidentally issued hdparm -X /dev/hda on running system
Jorge Peixoto de Morais Neto wrote: I then shut the computer down and I writing this from a liveCD. I do not even want to access the disk read only without knowing I have not messed up. So: does anybody know if hdparm -X /dev/hda is safe (on a running system...)? This setting, like most other hdparm commands, is just temporary. As soon as you reset the drive (happens during a reboot) all goes back to the defaults.
Re: [gentoo-user] Re: Accidentally issued hdparm -X /dev/hda on running system
On Wed, 01 Apr 2009 07:00:21 +0300 Nikos Chantziaras rea...@arcor.de wrote: Jorge Peixoto de Morais Neto wrote: I then shut the computer down and I writing this from a liveCD. I do not even want to access the disk read only without knowing I have not messed up. So: does anybody know if hdparm -X /dev/hda is safe (on a running system...)? This setting, like most other hdparm commands, is just temporary. As soon as you reset the drive (happens during a reboot) all goes back to the defaults. I know it is temporary. The problem is that I issued hdparm -X /dev/hda, and hda holds /, swap and everything. The system was in multiuser mode. I fear that the command could have messed up the hard disk, and caused data corruption. I have taken a look at the hdparm source code, and I see that hdparm -X /dev/hda is indeed equivalent to hdparm -X 0 /dev/hda But I still don't know if this is safe. I cannot continue to investigate the source code because it gets to an ioctl about which I know nothing (I think this would be a *lot* of research). I have since fsck'ed all relevant partitions in /dev/hda and they came up clean. Am I safe?