LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-27-2017, 08:47 PM   #1
hansaplazt
LQ Newbie
 
Registered: Oct 2010
Posts: 22

Rep: Reputation: 0
lsblk failed to read


While shutting down a server I get errors in the console regarding raid device md127. I only get these errors while shutting down. The server boots up normally without errors and /proc/mdstat shows only healthy arrays.

This is the error I'm getting while shutting down the server.
Code:
Stopping block device availabillity: Deactivating block devices:
   [UMOUNT]: unmounting storage_vg0-storage01 (dm-9) mounted on /STOR01... done
   [MD]: deactivating raid5 device md2... skipping
   [MD]: deactivating raid5 device md1... skipping
   [MD]: deactivating raid1 device md0... skipping
   [LVM]: deactivating Volume Group kvm_vg0... done
   [MD]: deactivating raid5 device md127... done
lsblk: /sys/dev/block/9:127: failed to read link: No such file or directory
lsblk: /dev/md127: failed to get sysfs name: No such file or directory
/sbin/blkdeactivate: line 195: SKIP_DEVICE_LIST: bad array subscript
   [MD]: deactivating raid5 device md127... done
   [LVM]: deactivating Volume Group storage_vg0... done
If the system is up the link exists.
Code:
# ls -l /sys/dev/block/9\:127/
total 0
-r--r--r-- 1 root root 4096 Apr 28 02:53 alignment_offset
lrwxrwxrwx 1 root root    0 Apr 28 02:53 bdi -> ../../bdi/9:127
-r--r--r-- 1 root root 4096 Apr 28 02:53 capability
-r--r--r-- 1 root root 4096 Apr 28 02:52 dev
-r--r--r-- 1 root root 4096 Apr 28 02:53 discard_alignment
-r--r--r-- 1 root root 4096 Apr 28 02:53 ext_range
drwxr-xr-x 2 root root    0 Apr 28 02:52 holders
-r--r--r-- 1 root root 4096 Apr 28 02:53 inflight
drwxr-xr-x 7 root root    0 Apr 28 02:52 md
drwxr-xr-x 2 root root    0 Apr 28 02:53 power
drwxr-xr-x 2 root root    0 Apr 28 02:52 queue
-r--r--r-- 1 root root 4096 Apr 28 02:52 range
-r--r--r-- 1 root root 4096 Apr 28 02:52 removable
-r--r--r-- 1 root root 4096 Apr 28 02:52 ro
-r--r--r-- 1 root root 4096 Apr 28 02:52 size
drwxr-xr-x 2 root root    0 Apr 28 02:52 slaves
-r--r--r-- 1 root root 4096 Apr 28 02:53 stat
lrwxrwxrwx 1 root root    0 Apr 28 02:52 subsystem -> ../../../../class/block
drwxr-xr-x 2 root root    0 Apr 28 02:53 trace
-rw-r--r-- 1 root root 4096 Apr 28 02:52 uevent
md127 contains only one LV (storage01) in a VG (storage_vg0)
Code:
# lvdisplay storage_vg0
  --- Logical volume ---
  LV Path                /dev/storage_vg0/storage01
  LV Name                storage01
  VG Name                storage_vg0
  LV UUID                ...
  LV Write Access        read/write
  LV Creation host, time alvname, 2013-11-25 17:17:35 +0100
  LV Status              available
  # open                 1
  LV Size                1.35 TiB
  Current LE             352738
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     6144
  Block device           253:0
I need a little help trouble shooting this error.
Thank you in advance,

Best Hansa

Last edited by hansaplazt; 04-27-2017 at 08:51 PM.
 
Old 04-27-2017, 09:05 PM   #2
624867243@qq.com
Member
 
Registered: Nov 2015
Location: ShenZhen
Posts: 33
Blog Entries: 1

Rep: Reputation: Disabled
what is your system?Centos os or redhat?
 
Old 04-27-2017, 09:43 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Looks like something it attempting to tear-down md127 twice - and once it's gone, the second iteration issues the messages. Personally I'd ignore it, but if you feel inclined go through the shutdown sequence scripts.
Quote:
Originally Posted by hansaplazt View Post
Code:
   [MD]: deactivating raid5 device md127... done
lsblk: /sys/dev/block/9:127: failed to read link: No such file or directory
lsblk: /dev/md127: failed to get sysfs name: No such file or directory
/sbin/blkdeactivate: line 195: SKIP_DEVICE_LIST: bad array subscript
   [MD]: deactivating raid5 device md127... done
   [LVM]: deactivating Volume Group storage_vg0... done
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lsblk looks Chinese Soapm Linux - Software 4 11-27-2014 02:19 PM
fdisk lsblk, parted do not work eliassal Linux - Newbie 4 06-25-2014 11:38 PM
"short read (fsck)" on disc access (failed command: READ FPDMA QUEUED) estellnb Linux - Hardware 3 02-22-2012 05:27 PM
unpacking of archive failed: cpio: read failed-input/output error rafc Linux - Newbie 0 04-21-2004 09:03 AM
Failed to read module?? Noogy Linux - Software 2 07-17-2001 08:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:35 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
Open Source Consulting | Domain Registration