[CentOS] c6, drbd and file systems

Wed May 4 08:10:43 UTC 2016
John R Pierce <pierce at hogranch.com>

On 5/4/2016 12:41 AM, Patrick Begou wrote:
>
> Any messages in /var/log/boot.log ? 

indeed, it appears it tries to mount local file systems BEFORE drbd is 
started.  because /data isn't mounted, backuppc can't start either.

so do I have to edit the chkconfig priorities in /etc/init.d and 
recreate the rc3.d S** and K** scripts so drbd starts earlier?  ugh.


# cat ore /var/log/boot.log
                Welcome to CentOS
Starting udev: [  OK  ]
Setting hostname hostname.mydomain.com: [  OK  ]
Setting up Logical Volume Management:   5 logical volume(s) in volume 
group "vg_sysdata" now active
   3 logical volume(s) in volume group "vg_sys" now active
[  OK  ]
Checking filesystems
/dev/mapper/vg_sys-lv_root: clean, 60004/3276800 files, 4432672/13107200 
blocks
/dev/sdb1: clean, 66/128016 files, 198283/512000 blocks
/dev/mapper/vg_sys-lv_home: clean, 593694/129236992 files, 
235674982/516925440 blocks
[  OK  ]
Remounting root filesystem in read-write mode: [  OK  ]
Mounting local filesystems:  mount: special device /dev/drbd0 does not exist
[FAILED]
Enabling local filesystem quotas: [  OK  ]
Enabling /etc/fstab swaps: [  OK  ]
Entering non-interactive startup
Calling the system activity data collector (sadc)...
Starting monitoring for VG vg_sys:   3 logical volume(s) in volume group 
"vg_sys" monitored
[  OK  ]
Starting monitoring for VG vg_sysdata:   5 logical volume(s) in volume 
group "vg_sysdata" monitored
[  OK  ]
Bringing up loopback interface: [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0... done.
[  OK  ]
Starting auditd: [  OK  ]
Starting system logger: [  OK  ]
Enabling ondemand cpu frequency scaling: [  OK  ]
Starting irqbalance: [  OK  ]
Starting rpcbind: [  OK  ]
Starting NFS statd: [  OK  ]
Starting system message bus: [  OK  ]
Starting Avahi daemon... [  OK  ]
NFS filesystems queued to be mounted
Mounting filesystems:  mount: special device /dev/drbd0 does not exist
[FAILED]
Starting acpi daemon: [  OK  ]
Starting HAL daemon: [  OK  ]
Starting lm_sensors: loading module ipmi-si adm1021 coretem[  OK  ]0
Retrigger failed udev events [  OK  ]



Rebuilding /boot/initrd-2.6.32-573.22.1.el6.x86_64kdump.img
Warning: There might not be enough space to save a vmcore.
          The size of UUID=2288bad6-ceb0-4984-bf3d-c57666603495 should 
be greater than 49416020 kilo bytes.


Starting DRBD resources: [ d(main) s(main) n(main) ].




Starting BackupPC: 2016-05-03 09:57:14 Can't create a test hardlink 
between a file in /var/lib/BackupPC//pc and /var/lib/BackupPC//cpool.  
Either these are different file system
s, or this file system doesn't support hardlinks, or these directories 
don't exist, or there is a permissions problem, or the file system is 
out of inodes or full.  Use df, df -
i, and ls -ld to check each of these possibilities. Quitting...