These issues seemed to have started recently “out of the blue”
-
On boot, unless I comment out 2 entries in /etc/fstab it stops at “checking file systems…” until I hit ctrl+c, then it prompts to give root password for maintenance. When I give it root password it drops me to “(repair filesystem)”. My / is mounted, but /var is not, & neither are any of the other systems. If I comment out /media/iscsi & /media/ entries in fstab (those are shown below) I am then able to boot up fully, it properly mounts /, /var, /reload.
-
On reboot it gets stuck at “Stopping iSCSI initiator service: done” & the reboot goes no further. If I hit ctrl+c it drops me back to the command prompt, & can type reboot again & it reboots almost instantly at that point. (minor issue, but would be nice to have resolved if at all possible)
How do I tell what partition it actually wants fsck run against, & if it is the iscsi, how do I run it on those? If I try to run it against /dev/sdc1 or /dev/sdb1 it says they are busy, but df -h doesn’t show them mounted.
/etc/fstab contents: - commented entries allow system to boot
/dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part2 / ext3 acl,user_xattr 1 1
/dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part6 /reload ext3 acl,user_xattr 1 2
/dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part5 /var ext3 acl,user_xattr 1 2
/dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
#/dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:1:0-part1 /media/disk ext3 noatime,acl,user_xattr 1 2
#/dev/disk/by-id/scsi-1SYNOLOGYiSCSI_Storage:2ec552bf-0383-39c4-88f0-d75ce96b70e3-part1 /media/iscsi ext3 acl,user_xattr,nofail 1 2
Server is a Gwava reload server, so im guessing the 2 #commented out paths point to an iscsi mount. If I go into yast/iscsi initiator it shows connected targets none, however under discovered targets I can select 10.1.1.57 & it mounts iqn.2000-1.com/synology.diskstation.target-1.2xxxx with startup onboot, under discovered targets it shows connected true. I can then manually mount both /dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:1:0-part1 /media/disk & /dev/disk/by-id/scsi-1SYNOLOGYiSCSI_Storage:2ec552bf-0383-39c4-88f0-d75ce96b70e3-part1 /media/iscsi without it prompting me to fsck them.
Thanks!