Opened 3 years ago

Closed 3 years ago

#11644 closed Bug/Something is broken (fixed)

Simone unable to start, "one or more specified logical volumes not found"

Reported by: Benjamin Melançon Owned by: JaimeV
Priority: Medium Component: Tech
Keywords: Cc: stefan, Jamie McClelland
Sensitive: no

Description

The output, and my first attempt at getting info.

Loading Linux 3.2.0-4-amd64 ...
Loading initial ramdisk ...
Loading, please wait...
  One or more specified logical volume(s) not found.
Unable to find LVM volume simone/swap_1
/dev/mapper/simone-root: recovering journal
/dev/mapper/simone-root: Clearing orphaned inode 54735 (uid=0, gid=0, mode=0100644, size=1107040)
/dev/mapper/simone-root: Clearing orphaned inode 54893 (uid=0, gid=0, mode=0100644, size=448440)
/dev/mapper/simone-root: Clearing orphaned inode 54716 (uid=0, gid=0, mode=0100644, size=64024)
/dev/mapper/simone-root: Clearing orphaned inode 54743 (uid=0, gid=0, mode=0100644, size=10680)
(...)
/dev/mapper/simone-root: Clearing orphaned inode 54868 (uid=0, gid=0, mode=0100644, size=1051056)
/dev/mapper/simone-root: Clearing orphaned inode 54866 (uid=0, gid=0, mode=0100644, size=14664)
/dev/mapper/simone-root: Clearing orphaned inode 54864 (uid=0, gid=0, mode=0100644, size=35176)
/dev/mapper/simone-root: Clearing orphaned inode 54846 (uid=0, gid=0, mode=0100755, size=1729984)
/dev/mapper/simone-root: Clearing orphaned inode 54741 (uid=0, gid=0, mode=0100755, size=140928)
/dev/mapper/simone-root: Clearing orphaned inode 54713 (uid=0, gid=0, mode=0100755, size=137440)
/dev/mapper/simone-root: clean, 8004/85008 files, 198290/339968 blocks
Gave up waiting for /usr device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-uuid/016af55f-b32c-4506-a35f-6c204a3db1f4 does not exist.  Dropping to a shell!
(initramfs)

(initramfs) cat /proc/partitions            
major minor  #blocks  name

 254        0  105906176 vda
 254        1     249856 vda1
 254        2  105652224 vda2
 253        0     339968 dm-0

Been trying to follow [this debugging](https://www.novell.com/coolsolutions/appnote/19386.html) but, in addition to lack of knowledge, i don't seem to have access to even all the diagnostic commands.

Have not tried any changes yet, just looking at things.

Change History (3)

comment:1 Changed 3 years ago by Benjamin Melançon

With dkg leading the way past the actual problem, not seeing the volume which had /user, the current status is it never moves beyond "Started LSB: Postfix Mail Transport Agent."

Here's the info from continuing the start:

(initramfs) cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/simone-root ro console=ttyS0,115200n8 quiet

(initramfs) lvm lvs
  LV   VG     Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home simone -wi-------  10.00g
  root simone -wi-ao---- 332.00m
  srv  simone -wi-------  38.89g
  tmp  simone -wi------- 380.00m
  usr  simone -wi-------   4.66g
  var  simone -wi-------  40.00g

(initramfs) cat /etc/fstab

(initramfs) cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=385145,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=618928k,mode=755 0 0
/dev/dm-0 /root ext3 ro,relatime,errors=continue,barrier=1,data=ordered 0 0

(initramfs) ls /dev/mapper
drwxr-xr-x  2 0 0     80 .
drwxr-xr-x 10 0 0   2260 ..
lrwxrwxrwx  1 0 0      7 simone-root -> ../dm-0
crw-------  1 0 0 10,236 control

 cat /root/etc/fstab                                                 
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
UUID=8e68da07-a7d9-476a-acab-7ca17705329f /     ext3 errors=remount-ro,relatime
0       1
UUID=ce7ba9ce-7f98-48ba-8829-620c0b9acb93 /boot ext2 defaults   0       2
UUID=bc418adf-c1bf-4fbb-ac26-cd4e0696b738 /home ext3 relatime   0       2
UUID=b954ec67-ebd8-474c-ae23-1e485ecfed94 /tmp  ext3 relatime   0       2
UUID=016af55f-b32c-4506-a35f-6c204a3db1f4 /usr  ext3 relatime   0       2
UUID=6fde08b8-d126-48c4-ba08-cebdc546e9d5 /var  ext3 relatime,user_xattr  0  2 
UUID=df7bb9de-d17a-4017-a818-ac6cb75e9526 /srv  ext3 relatime   0       2
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto 0       0

(initramfs) lvm lvchange -ay simone/usr
(initramfs) ls /dev/mapper
drwxr-xr-x  2 0 0    100 .
drwxr-xr-x 10 0 0   2280 ..
lrwxrwxrwx  1 0 0      7 simone-usr -> ../dm-1
lrwxrwxrwx  1 0 0      7 simone-root -> ../dm-0
crw-------  1 0 0 10,236 control

Escaped out and it continued the boot:

(initramfs) /dev/mapper/simone-usr: recovering journal
/dev/mapper/simone-usr: Clearing orphaned inode 184975 (uid=0, gid=0, mode=01006
44, size=1607712)
[...]
/dev/mapper/simone-usr: Clearing orphaned inode 193131 (uid=0, gid=0, mode=01006
44, size=151984)
/dev/mapper/simone-usr: clean, 98418/305216 files, 512921/1220608 blocks
[67591.780624] EXT3-fs (dm-1): error: unrecognized mount option "relatime" or mi
ssing value
mount: Invalid argument
[67601.606053] Error: Driver 'pcspkr' is already registered, aborting...

[67602.780510] systemd-fsck[345]: /dev/vda1 was not cleanly unmounted, check for
ced.
[67605.221732] systemd-fsck[366]: /dev/mapper/simone-tmp: recovering journal
[67606.983570] systemd-fsck[369]: /dev/mapper/simone-srv: recovering journal
[67607.222223] systemd-fsck[371]: /dev/mapper/simone-var: recovering journal
[67607.359754] systemd-fsck[377]: /dev/mapper/simone-home: recovering journal
[67609.326936] systemd-fsck[366]: /dev/mapper/simone-tmp: Clearing orphaned inod
e 30482 (uid=33, gid=33, mode=0140600, size=0)
[67609.329339] systemd-fsck[366]: /dev/mapper/simone-tmp: Clearing orphaned inod
e 16 (uid=0, gid=0, mode=0100666, size=0)
[67609.331418] systemd-fsck[366]: /dev/mapper/simone-tmp: Clearing orphaned inod
e 17 (uid=104, gid=106, mode=0100600, size=0)
[67609.333631] systemd-fsck[366]: /dev/mapper/simone-tmp: Clearing orphaned inod
e 11 (uid=104, gid=106, mode=0100600, size=0)
[67609.335744] systemd-fsck[366]: /dev/mapper/simone-tmp: Clearing orphaned inod
e 15 (uid=104, gid=106, mode=0100600, size=0)
[67609.338526] systemd-fsck[366]: /dev/mapper/simone-tmp: Clearing orphaned inod
e 14 (uid=104, gid=106, mode=0100600, size=1766)
[67609.340841] systemd-fsck[366]: /dev/mapper/simone-tmp: Clearing orphaned inod
e 13 (uid=104, gid=106, mode=0100600, size=3776)
[67609.343507] systemd-fsck[366]: /dev/mapper/simone-tmp: clean, 49/97536 files,
 22839/389120 blocks
[67609.845595] systemd-fsck[345]: /dev/vda1: 342/124496 files (3.5% non-contiguo
us), 42416/248976 blocks
[67616.736916] systemd-fsck[369]: /dev/mapper/simone-srv: clean, 74631/2555904 f

iles, 3518902/10194944 blocks
[  OK  ] Started File System Check on /dev/disk/by-uuid/df7bb...8-ac6cb75e9526.
         Mounting /srv...
[  OK  ] Mounted /srv.
[67624.971663] systemd-fsck[377]: /dev/mapper/simone-home: clean, 4929/655360 fi
les, 529903/2621440 blocks
[  OK  ] Started File System Check on /dev/disk/by-uuid/bc418...6-cd4e0696b738.
         Mounting /home...
[  OK  ] Mounted /home.
[67627.737471] systemd-fsck[371]: /dev/mapper/simone-var: Clearing orphaned inod
e 168305 (uid=104, gid=4, mode=0100640, size=2164)
[67627.742815] systemd-fsck[371]: /dev/mapper/simone-var: clean, 331372/2549760
files, 4845416/10485760 blocks
[  OK  ] Started File System Check on /dev/disk/by-uuid/6fde0...8-cebdc546e9d5.
         Mounting /var...
[  OK  ] Mounted /var.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
         Starting Monitoring of LVM2 mirrors, snapshots etc. ...ress polling...
         Starting Load/Save Random Seed...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Monitoring of LVM2 mirrors, snapshots etc. u...ogress polling.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting LSB: Raise network interfaces....
[  OK  ] Reached target Remote File Systems.

         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started LSB: Prepare console.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started LSB: Raise network interfaces..
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: The RPC portmapper...
[  OK  ] Started LSB: The RPC portmapper.
[  OK  ] Reached target RPC Port Mapper.
         Starting LSB: NFS support files common to client and server...
[  OK  ] Started LSB: NFS support files common to client and server.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting Graphite Carbon Cache...

         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting System Logging Service...
         Starting Munin Node...
         Starting Kerberos 5 Admin Server...
[  OK  ] Started Kerberos 5 Admin Server.
         Starting The PHP FastCGI Process Manager...
         Starting Deferred execution scheduler...
[  OK  ] Started Deferred execution scheduler.
         Starting Internet superserver...
[  OK  ] Started Internet superserver.
         Starting Varnish HTTP accelerator...
         Starting Enable support for additional executable binary formats...
         Starting Kerberos 5 Key Distribution Center...
         Starting /etc/rc.local Compatibility...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
         Starting Permit User Sessions...
         Starting LSB: saslauthd startup script...
         Starting memcached daemon...
[  OK  ] Started memcached daemon.
         Starting LSB: Start the GNUstep distributed object mapper...
         Starting LSB: manage the statistics collection daemon...
         Starting LSB: Start and stop the mysql database server daemon...

         Starting LSB: Start/stop fail2ban...
         Starting LSB: OpenLDAP standalone server (Lightweigh...ss Protocol)...
         Starting LSB: Go Agent...
         Starting LSB: Start/stop supervisor...
         Starting LSB: Go Server...
         Starting LSB: Apache2 web server...
         Starting LSB: Start Jetty...
         Starting LSB: Collaborative IRC helper...
         Starting PostgreSQL Cluster 9.4-main...
         Starting ACPI event daemon...
[  OK  ] Started ACPI event daemon.
         Starting LSB: Start and stop the mysql database clus...ement daemon...
[FAILED] Failed to start Graphite Carbon Cache.
See 'systemctl status carbon-cache.service' for details.
[FAILED] Failed to start System Logging Service.
See 'systemctl status rsyslog.service' for details.
[FAILED] Failed to start Munin Node.
See 'systemctl status munin-node.service' for details.
[FAILED] Failed to start The PHP FastCGI Process Manager.
See 'systemctl status php5-fpm.service' for details.
[FAILED] Failed to start Varnish HTTP accelerator.
See 'systemctl status varnish.service' for details.
[FAILED] Failed to start Enable support for additional execut...binary formats.
See 'systemctl status binfmt-support.service' for details.
[FAILED] Failed to start Kerberos 5 Key Distribution Center.

See 'systemctl status krb5-kdc.service' for details.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: saslauthd startup script.
[  OK  ] Started LSB: Start the GNUstep distributed object mapper.
[  OK  ] Started LSB: manage the statistics collection daemon.
[  OK  ] Started LSB: Start and stop the mysql database server daemon.
[  OK  ] Started LSB: Start/stop fail2ban.
[  OK  ] Started LSB: OpenLDAP standalone server (Lightweight...cess Protocol).
[FAILED] Failed to start LSB: Go Agent.
See 'systemctl status go-agent.service' for details.
[  OK  ] Started LSB: Start/stop supervisor.
[FAILED] Failed to start LSB: Go Server.
See 'systemctl status go-server.service' for details.
[  OK  ] Started LSB: Apache2 web server.
[FAILED] Failed to start LSB: Start Jetty.
See 'systemctl status jetty8.service' for details.
[  OK  ] Started LSB: Collaborative IRC helper.
[FAILED] Failed to start PostgreSQL Cluster 9.4-main.
See 'systemctl status postgresql@9.4-main.service' for details.
[FAILED] Failed to start LSB: Start and stop the mysql databa...agement daemon.
See 'systemctl status mysql-ndb-mgm.service' for details.
         Stopping Internet superserver...
[  OK  ] Stopped Internet superserver.
         Starting Internet superserver...

[  OK  ] Started Internet superserver.
         Stopping OpenBSD Secure Shell server...
[  OK  ] Stopped OpenBSD Secure Shell server.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Stopping Munin Node...
[  OK  ] Stopped Munin Node.
         Starting Munin Node...
         Stopping System Logging Service...
[  OK  ] Stopped System Logging Service.
         Starting System Logging Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting Cleanup of Temporary Directories...
         Starting LSB: Start and stop the mysql database clus...erver daemon...
         Starting PostgreSQL RDBMS...
         Starting LSB: Calendar and Contacts Server...
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
         Starting Varnish HTTP accelerator log daemon...
[  OK  ] Started Varnish HTTP accelerator log daemon.
         Starting Varnish HTTP accelerator log daemon...

[  OK  ] Started Varnish HTTP accelerator log daemon.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[FAILED] Failed to start Munin Node.
See 'systemctl status munin-node.service' for details.
[FAILED] Failed to start System Logging Service.
See 'systemctl status rsyslog.service' for details.
[  OK  ] Started Cleanup of Temporary Directories.
[FAILED] Failed to start LSB: Start and stop the mysql databa... server daemon.
See 'systemctl status mysql-ndb.service' for details.
[  OK  ] Started PostgreSQL RDBMS.
[  OK  ] Started LSB: Calendar and Contacts Server.
         Stopping Login Service...
[  OK  ] Stopped Login Service.
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.

Debian GNU/Linux 8 simone ttyS0

simone login:          Starting LSB: Postfix Mail Transport Agent...
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Started LSB: Postfix Mail Transport Agent.

And there it just hung, and continues to, as i'm not sure what useful action to take.

comment:2 Changed 3 years ago by JaimeV

Cc: Jamie McClelland added
Owner: set to JaimeV
Status: newassigned

Hi Ben , it looks like I do not have direct access to simone to check on this. I am copying to jamie here.

Jaime

comment:3 Changed 3 years ago by Jamie McClelland

Resolution: fixed
Status: assignedclosed

On dkg's suggestion, I moved everything from the /usr partition to / and now it seems to work.

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.