Hide Forgot
Description of problem: The machine has 2 disks with the following configuration: /dev/sda1 2048 390721967 195359960 8e Linux LVM and /dev/sdc1 2048 1026047 512000 83 Linux /dev/sdc2 1026048 156301487 77637720 8e Linux LVM The boot partition is on sdc1 and the root on a LV on sdc2. The LVs from sda are in fstab and needed to be mounted at boot time. When the machine boots, the partition from disk sda is not visible by the system. When I'm prompted to enter the root password the fix the fstab problems, I have 2 options to fix this: - fdisk /dev/sda and enter "w" - partprobe /dev/sda If I try with kpartx -a /dev/sda, nothing is happening. Version-Release number of selected component (if applicable): hal 0.5.14-6.fc15 udev 167-6.fc15 How reproducible: It happens every time on my computer with 2 identical disks Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
do you have a stale raid signature on /dev/sda? check with: # udevadm info --query=property --name=/dev/sda|grep ID_FS_TYPE and see if it shows *_raid_member. you can get rid of it with: # mdadm --zero-superblock /dev/sda
You are correct: ID_FS_TYPE=adaptec_raid_member The mdadm command will delete my LVM info also? My question is if I will loose data after that command or not.
(In reply to comment #2) > You are correct: > ID_FS_TYPE=adaptec_raid_member > > The mdadm command will delete my LVM info also? My question is if I will loose > data after that command or not. oh.. mdadm would not clear that raid info... dmraid might do this with: # dmraid -E /dev/sda I'll reassign to dmraid. Maybe they can provide more info of how to get rid of that signature.
I think I have the same problem as in bug 517761. I tried: dmraid -E /dev/sda dmraid -r -E /dev/sda dmraid -x /dev/sda all with the same result: ERROR: asr: Invalid magic number in RAID table; saw 0x0, expected 0x900765C4 on /dev/sda I gave up eventually and zeroed the entire disk. From what I've read, it seems that the raid information is somewhere at the end of the disk and I didn't know what exactly to delete. Thank you for you support.
(In reply to comment #4) > I think I have the same problem as in bug 517761. > > I tried: > dmraid -E /dev/sda > dmraid -r -E /dev/sda > dmraid -x /dev/sda > all with the same result: > ERROR: asr: Invalid magic number in RAID table; saw 0x0, expected 0x900765C4 on > /dev/sda > > I gave up eventually and zeroed the entire disk. From what I've read, it seems > that the raid information is somewhere at the end of the disk and I didn't know > what exactly to delete. > > Thank you for you support. just for the reference: I found another tool, which cleans signatures: # man wipefs
I've run wipefs on the sdc disk that also had the exact same issue and it cleaned the signature correctly.