Yes, I have rebooted many times.  Right now, I'm using them in a working
system.  What's more, I have two systems prepared similarly, one with
raid and one without, and they are showing exactly the same problem.
Here, have a look at one of these systems (raid).  All the disks
sd{a,b,c} are random filled with no luks header.  They are mounted with
an external header.  sd{a,b} contain root/home and sdc (not mounted) is
just data.

@Tyan-S2927:~$ ls -l /dev/disk/by-id/wwn-*
lrwxrwxrwx 1 root root  9 Jan 14 11:16 /dev/disk/by-id/wwn-0x50014ee207XXXXXX 
-> ../../sdb
lrwxrwxrwx 1 root root  9 Jan 14 11:16 /dev/disk/by-id/wwn-0x50014ee208XXXXXX 
-> ../../sdc
lrwxrwxrwx 1 root root 10 Jan 14 11:16 
/dev/disk/by-id/wwn-0x50014ee208XXXXXX-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Jan 14 11:16 
/dev/disk/by-id/wwn-0x50014ee208XXXXXX-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Jan 14 11:16 
/dev/disk/by-id/wwn-0x50014ee208XXXXXX-part4 -> ../../sdc4
lrwxrwxrwx 1 root root  9 Jan 14 11:16 /dev/disk/by-id/wwn-0x50014ee25XXXXXX -> 
../../sda
lrwxrwxrwx 1 root root 10 Jan 14 11:16 
/dev/disk/by-id/wwn-0x50014ee25XXXXXX-part2 -> ../../sda2


@Tyan-S2927:~$ lsblk
NAME         MAJ:MIN RM    SIZE RO TYPE  MOUNTPOINT
sda            8:0    0    1.8T  0 disk  
├─sda2         8:2    0    1.6T  0 part  
└─luks.root1 252:0    0    1.8T  0 crypt /home
sdb            8:16   0    1.8T  0 disk  
└─luks.root2 252:1    0    1.8T  0 crypt 
sdc            8:32   0    1.8T  0 disk  
├─sdc2         8:34   0  499.7G  0 part  
├─sdc3         8:35   0 1000.3G  0 part  
└─sdc4         8:36   0  130.7G  0 part  
sdd            8:48   1   28.9G  0 disk  
└─sdd1         8:49   1   28.9G  0 part  /boot


@Tyan-S2927:~$ sudo blkid -p /dev/sda
@Tyan-S2927:~$ sudo blkid -p /dev/sdb
@Tyan-S2927:~$ sudo blkid -p /dev/sdc


@Tyan-S2927:~$ mount | column -t
sysfs                   on  /sys                             type  sysfs        
    (rw,nosuid,nodev,noexec,relatime)
proc                    on  /proc                            type  proc         
    (rw,nosuid,nodev,noexec,relatime)
udev                    on  /dev                             type  devtmpfs     
    (rw,nosuid,relatime,size=12326324k,nr_inodes=3081581,mode=755)
devpts                  on  /dev/pts                         type  devpts       
    (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs                   on  /run                             type  tmpfs        
    (rw,nosuid,noexec,relatime,size=2475548k,mode=755)
/dev/mapper/luks.root1  on  /                                type  btrfs        
    
(rw,noatime,nodiratime,compress=lzo,space_cache,autodefrag,subvolid=258,subvol=/@)
securityfs              on  /sys/kernel/security             type  securityfs   
    (rw,nosuid,nodev,noexec,relatime)
tmpfs                   on  /dev/shm                         type  tmpfs        
    (rw,nosuid,nodev)
tmpfs                   on  /run/lock                        type  tmpfs        
    (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs                   on  /sys/fs/cgroup                   type  tmpfs        
    (ro,nosuid,nodev,noexec,mode=755)
cgroup                  on  /sys/fs/cgroup/systemd           type  cgroup       
    
(rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore                  on  /sys/fs/pstore                   type  pstore       
    (rw,nosuid,nodev,noexec,relatime)
cgroup                  on  /sys/fs/cgroup/cpu,cpuacct       type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup                  on  /sys/fs/cgroup/net_cls,net_prio  type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup                  on  /sys/fs/cgroup/cpuset            type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup                  on  /sys/fs/cgroup/devices           type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,devices)
cgroup                  on  /sys/fs/cgroup/memory            type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,memory)
cgroup                  on  /sys/fs/cgroup/blkio             type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup                  on  /sys/fs/cgroup/perf_event        type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup                  on  /sys/fs/cgroup/freezer           type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup                  on  /sys/fs/cgroup/hugetlb           type  cgroup       
    (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1               on  /proc/sys/fs/binfmt_misc         type  autofs       
    (rw,relatime,fd=21,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs                 on  /sys/kernel/debug                type  debugfs      
    (rw,relatime)
mqueue                  on  /dev/mqueue                      type  mqueue       
    (rw,relatime)
hugetlbfs               on  /dev/hugepages                   type  hugetlbfs    
    (rw,relatime)
fusectl                 on  /sys/fs/fuse/connections         type  fusectl      
    (rw,relatime)
/dev/sdd1               on  /boot                            type  btrfs        
    
(rw,noatime,nodiratime,ssd_spread,space_cache,subvolid=257,subvol=/@s2927boot)
/dev/mapper/luks.root1  on  /home                            type  btrfs        
    
(rw,noatime,nodiratime,compress=lzo,space_cache,autodefrag,subvolid=259,subvol=/@home)
tmpfs                   on  /run/user/120                    type  tmpfs        
    (rw,nosuid,nodev,relatime,size=2475548k,mode=700,uid=120,gid=127)
gvfsd-fuse              on  /run/user/120/gvfs               type  
fuse.gvfsd-fuse  (rw,nosuid,nodev,relatime,user_id=120,group_id=127)
tmpfs                   on  /run/user/1000                   type  tmpfs        
    (rw,nosuid,nodev,relatime,size=2475548k,mode=700,uid=1000,gid=1000)
gvfsd-fuse              on  /run/user/1000/gvfs              type  
fuse.gvfsd-fuse  (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1531404

Title:
  nonexistent partition in /dev, & lsblk/disk util misbehaving with
  randomized disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1531404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to