LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

First thing to do in an emergency: Nothing!

Posted 11-28-2013 at 10:33 PM by flshope

A few days ago I had a heart-stopping moment on my main linux box running Ubuntu 12.04. I had just deleted two links from my desktop when suddenly I discovered that none of the remaining links on the desktop were working. Worse, clicking on any one of them them produced an error box saying the linked file no longer existed. I actually broke out in a sweat. All of these links are to files on a second internal hard disk where I keep my own data files, as opposed to the files for the OS and the various...
Member
Posted in Uncategorized
Views 1452 Comments 2 flshope is offline
Old

How does I/O error for HDD read looks like?

Posted 05-20-2011 at 04:01 AM by Web31337 (In The Middle Of Nowhere [edK's blog])

A bit of scary story with happy ending. Below I describe how failing HDD may look in your syslogs, and how I "resolved" this issue.
NOTICE: when you see I/O errors anywhere, or you see something like this in syslog YOUR FIRST TASK IS TO MAKE BACKUPS AS FAST AS POSSIBLE!!! ONLY WHEN YOU ARE SURE YOUR DATA IS NOW BACKED UP AND SAFE, you may proceed with something like "fixing"!

Recently had an accident involving few bad blocks on HDD. The target was Seagate...
Member
Posted in hardware
Views 4237 Comments 0 Web31337 is offline
Old

UDEV Rules

Posted 03-27-2009 at 08:25 AM by farslayer

udev Rules for the Hard drives..


Use udevinfo to get unique attributes about the devices you are going to write a rule for.

udevinfo -a -p /sys/block/sda | grep -i model
Gives the following output: SYSFS{model}="LD 0 RAID1 139G"

udevinfo -a -p /sys/block/sda | grep -i size
Gives the following output: SYSFS{size}="286515200"

udevinfo -a -p /sys/block/sdb | grep -i model
Gives the following...
Guru
Views 2849 Comments 0 farslayer is offline

  



All times are GMT -5. The time now is 05:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration