start job swap, data, pve at boot taking long more than 30 sec

vigilian

Renowned Member
Oct 9, 2015
82
1
73
Hi,

I hve a strange thing at start. Several startjob have some difficulties to start apparently.
dev-pve-swap or dev-pve-data etc...
My system is on a ssd. How should I check if the swap partition is activated or if the partition table is damaged somehow?
 
Hi,

it would be usefull to have some information over the fs where the os is on it.
Or do you use the default disk layout with lvm and ext3/4?
 
Yeah I don't think that I change a thing, I mean I think I use the default installation but not sure anymore. What precise information can I give you and where to find it?
 
please send the output of
lsblk
 
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 127M 0 part
└─sda3 8:3 0 232.8G 0 part
├─pve-root 252:0 0 40G 0 lvm /
├─pve-swap 252:2 0 29G 0 lvm [SWAP]
└─pve-data 252:3 0 147.8G 0 lvm /var/lib/vz
sdb 8:16 1 1.8T 0 disk
└─vm-vm 252:1 0 1.8T 0 lvm /vm
loop0 7:0 0 100G 0 loop
 
I don't even know how can I do a fsck on proxmox since it always answer to me:
fsck /dev/mapper/pve-root
fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/mapper/pve-root is mounted.
e2fsck: Cannot continue, aborting.
 
here it is:
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/data /var/lib/vz ext4 defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0


#vm
/dev/vm/vm /vm ext4 defaults 0 2


So the waiting and notification for upstartjob is it the filesystemcheck working?
no way to do a fsck in normal boot manually then? I have to do it in emergency mode?
 
Correct you have do do it offline with a live cd or rescue mode.
 
I think no.
But one question, do you start the VM all at the same time.
If so this can make problems if your Disk is to slow.
 
yes but the upstart job is before the launching of the VM. and the VM are starting from a RAID 10 on a adaptec 6405E with RE4 class HDD from WD.
anyway it seems that it doesn't do it anymore and I don't know why either