Home Partition Not Mounting

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Home Partition Not Mounting

Postby johnms » Sep 16th, '17, 12:20

I'm slowly getting my Mageia system set-up here, GRUB now loads; however it fails to mount the drive with the home partition. During boot-up it shows:
(1 of 2) A start job is running for dev-mapper-isw_bjifigabee_Home1.device (1min 28s / 1min 30s)
(2 of 2) A start job is running for dev-mapper-crypt_mapper_isw_bjifigabee_Home1.device (1min 26s / no limit)
(2 of 2) A start job is running for dev-mapper-crypt_mapper_isw_bjifigabee_Home1.device (1min 27s / no limit)
(2 of 2) A start job is running for dev-mapper-crypt_mapper_isw_bjifigabee_Home1.device (1min 27s / no limit)
Timed out waiting for device dev-mapper-isw_bjifigabee_Home1.device.
Dependency failed for Cryptography Setup for crypt_mapper_isw_bjifigabee_Home1.
Dependency failed for Encrypted Volumes.
Dependency failed for dev-mapper-crypt_mapper_isw_bjifigabee_Home1.device.
Starting Initialize storage subsystems (RAID, LVM, etc.)...
Started Initialize storage subsystems (RAID, LVM, etc.).
arting Save boot dmesg content...


I've attached the dmesg log.

From what I can tell my crypttab looks fine:
crypt_mapper_isw_bjifigabee_Home1 /dev/mapper/isw_bjifigabee_Home1


The fstab looks like this:
# Entry for /dev/sda5 :
UUID=a762d985-414b-4bb8-bda3-1b5546e76c19 / ext4 noatime,acl 1 1
# Entry for /dev/sda2 :
UUID=7C45-8188 /boot/EFI vfat umask=0,iocharset=utf8 0 0
/dev/mapper/crypt_mapper_isw_bjifigabee_Home1 /home ext4 noatime,user_xattr,acl 0 0
# Entry for /dev/sda4 :
UUID=884A58A84A5894B2 /media/win_c ntfs-3g ro,nofail 0 0
# Entry for /dev/sdc1 :
UUID=249E30BD9E308976 /media/win_data ntfs-3g defaults,nofail 0 0
none /proc proc defaults 0 0


The home drive is a RAID-1 configuration containing an encrypted partition. I can provide further information, just need to know what you need.
Attachments
dmesg.txt
DMesg
(69.87 KiB) Downloaded 200 times
johnms
 
Posts: 10
Joined: Dec 19th, '14, 12:55

Re: Home Partition Not Mounting

Postby doktor5000 » Sep 16th, '17, 14:58

It appears to try to open the LUKS device _before_ it tries to load the RAID subsystem. Although I'm not sure if that subsystem is only for softRAIDs like with mdadm.
Can you provide some more details on that RAID setup, from what I understood this means hardware RAID as provided by your BIOS/UEFI or by some addon RAID controller card?
Also you would need to show your partitioning, please add the output as root at least of
Code: Select all
fdisk -l
lsblk -fl

and add some comments which disk is which.

Totally apart from that, you may also want to look into your GPT partitioning:

Code: Select all
[    1.320948] scsi 5:0:0:0: CD-ROM            ASUS     BC-12D2HT        3.00 PQ: 0 ANSI: 5
[    1.324447] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.324449] GPT:1953519879 != 1953525167
[    1.324450] GPT:Alternate GPT header not at the end of the disk.
[    1.324452] GPT:1953519879 != 1953525167
[    1.324453] GPT: Use GNU Parted to correct GPT errors.
[    1.324474]  sdb: sdb1
[    1.324922] sd 1:0:0:0: [sdb] Attached SCSI disk
[    1.352832] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.352836] GPT:1953519879 != 1953525167
[    1.352837] GPT:Alternate GPT header not at the end of the disk.
[    1.352838] GPT:1953519879 != 1953525167
[    1.352839] GPT: Use GNU Parted to correct GPT errors.
[    1.352855]  sdd: sdd1
[    1.354278] sd 3:0:0:0: [sdd] Attached SCSI disk


The same later again, but I believe this is the same disk, just the devicename changed:

Code: Select all
[    5.499682] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    5.499686] GPT:1953519879 != 1953525167
[    5.499687] GPT:Alternate GPT header not at the end of the disk.
[    5.499688] GPT:1953519879 != 1953525167
[    5.499689] GPT: Use GNU Parted to correct GPT errors.
[    5.499707]  sdd: sdd1
[    5.524126] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    5.524130] GPT:1953519879 != 1953525167
[    5.524131] GPT:Alternate GPT header not at the end of the disk.
[    5.524132] GPT:1953519879 != 1953525167
[    5.524133] GPT: Use GNU Parted to correct GPT errors.
[    5.524156]  sdb: sdb1
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Home Partition Not Mounting

Postby johnms » Sep 17th, '17, 10:18

Can you provide some more details on that RAID setup, from what I understood this means hardware RAID as provided by your BIOS/UEFI or by some addon RAID controller card?

I have two drives in an hardware RAID-1 set-up provided by my BIOS: /dev/sdb1 & /dev/sdd1.

Totally apart from that, you may also want to look into your GPT partitioning

I don't know what I would do to address those errors.
Attachments
lsblk.txt
LSBLK
(1.61 KiB) Downloaded 213 times
fdisk.txt
FDISK
(5.62 KiB) Downloaded 181 times
johnms
 
Posts: 10
Joined: Dec 19th, '14, 12:55

Re: Home Partition Not Mounting

Postby doktor5000 » Sep 17th, '17, 11:38

You should first try to remove noiswmd from your boot options. See http://doc.mageia.org/mcc/6/en/content/drakboot.html on how to do that via MCC, click edit for the default entry and look at the end of the Append line.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Home Partition Not Mounting

Postby johnms » Sep 17th, '17, 17:24

I removed "noiswmd" from the boot options, but it didn't work /dev/mapper only has a file named control. After the change both drakboot and drakdisk no longer crash. Prior to the change they would always crash with the message
INTERNAL ERROR: unknown device mapper/isw_bjifigabee_Home1
.
johnms
 
Posts: 10
Joined: Dec 19th, '14, 12:55

Re: Home Partition Not Mounting

Postby johnms » Sep 21st, '17, 21:24

To be clear the /dev/mapper/isw_bjifigabee_Home1 entry no longer exists.
johnms
 
Posts: 10
Joined: Dec 19th, '14, 12:55


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest