Identifying Failed Storage Unit Drives

data_recovery

Requirements 

1. Physical Server
2. udisks2 - D-Bus service to access and manipulate storage devices

3. udisks2-lvm2 - LVM2 support for udisks2 

 Installing udisks2

After installing udisks2 we can type the command below to save the configuration 

Display the information contained in storage_unit_serial_drives.txt 

MODEL REVISION SERIAL DEVICE
--------------------------------------------------------------------------
INTEL SSDPEKKW256G7 PSF109C BTPY70130QZA256D nvme0n1
INTEL SSDSC2BA400G4 G2010140 BTHV550302J1400NGN sda
INTEL SSDPEKKW256G7 PSF109C BTPY70130IZA226F nvme1n1
INTEL SSDPEKKW256G7 PSF109C BTPY70130WZA236D nvme2n1
INTEL SSDPEKKW256G7 PSF109C BTPY70130GZA246D nvme3n1
Now we have the configuration information so we can identify failed drives later in the future.

How to use the information to identify a failed storage drive.

OK, so we have 1 drive fail. We would type the following command below 

MODEL REVISION SERIAL DEVICE
--------------------------------------------------------------------------
INTEL SSDPEKKW256G7 PSF109C BTPY70130QZA256D nvme0n1
INTEL SSDSC2BA400G4 G2010140 BTHV550302J1400NGN sda
INTEL SSDPEKKW256G7 PSF109C BTPY70130WZA236D nvme2n1
INTEL SSDPEKKW256G7 PSF109C BTPY70130GZA246D nvme3n1

We are missing the below drive since it's missing above 

INTEL SSDPEKKW256G7 PSF109C BTPY70130IZA226F nvme1n1
We now have identified which drive has failed. We can now pull the and hotswap a new drive of the same size and type in the
storage server.

If you don't have udisks2 installed you can also identify drives with the following command line. 

E: ID-SERIAL-SHORT=BTPY70130QZA256D
E: ID-SERIAL=INTEL SSDPEKKW256G7-BTPY70130QZA256D
udisks2 can also be used to apply settings to drives under /etc/udisks2/DriveId.conf.

Please see manual for more details. 


Font size: +
Report Print
 

By accepting you will be accessing a service provided by a third-party external to https://www.klokur.com/