Hi, I install CentOS 6 as default Desktop theme. and today i would like to add second disk to my computer. when boot ,
udev :ACPI OK
hostname start OK
device-mapper: table: 253.2: striped; Couldn't parse stripe destination
failed to stat /dev/mapper/pdc_ccgcjhdeh
Setting up Logical Volume Management: 3 logical volues(s) in volume group "vg_server1" now active
Checking filesystem
/dev/mapper/vg-server1-lv_root: clean, xxxxxx/xxxxxxx files, xxxxxxx/xxxxxx blocks
fsck.ext4 : unable to resolve 'UUID=xxxxxxxxxxxxxxx-xxxx-xxxxxxxxx'
/dev/mapper/vg_server1-lv_home: clean, xxxxx/xxxxxx files, xxxxxx/xxxxxxxxx blocks
welcome to CentOS Linux
Starting udev: OK
setting hostname xxxxxx.xxxx: OK
failed to stat /dev/mapper/pdc_ccgcjhdeh
Setting up Logical Volume Management: 3 logical volues(s) in volume group "vg_server1" now active
Checking filesystem
/dev/mapper/vg-server1-lv_root: clean, xxxxxx/xxxxxxx files, xxxxxxx/xxxxxx blocks
fsck.ext4 : unable to resolve 'UUID=xxxxxxxxxxxxxxx-xxxx-xxxxxxxxx'
/dev/mapper/vg_server1-lv_home: clean, xxxxx/xxxxxx files, xxxxxx/xxxxxxxxx blocks
[FAILED]
as you see above in process device-mapper fails and fsck.ext4 fails, the system give me 2 choices.
1 login as root to solve problem(maintenance)
2 reboot system
lvm command can't used as File-based locking initialisation failed. i can't edit file also. as read-only file systems
so finally, i unplug new harddisk and reboot. the system with first disk run as it has been and show me log-in screen.
HOW should i do to solve device-mapper and any issue to add 2nd disk to my system.
my system used mainboard gigabyte ga78gm-us2h, both of Harddisk are Hitachi-IBM 500gb sata2 .
cheer :-)
[SOLVED] add new disk and system boot fails
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
[SOLVED] add new disk and system boot fails
Perhaps your 2nd drive is not clean, and contains LVM metadata that conflicts with your current system.
You really don't provide any useful information.
You really don't provide any useful information.
Re: add new disk and system boot fails
Hi Garald thanks for you suggest;
as you mention, I had setup raid 1. and i unplug one disk and clean install CentOS 6. the 2nd harddisk, i used to installed new system for multi OS on other PC to test window and ubuntu 10.10. that is last status of my 2nd harddisk.
i wipe my 2nd harddisk by used system rescue linux - Gparted . and it still be can't now boot.
#fdisk /dev/sda # it show 2 physical partition as /dev/sda1 /boot and /dev/sda2 linux LVM
#blkid
/dev/sdb: TYPE="promise_fasttrack_raid_member"
/dev/sda2: UUID="xxxxxxxxx-xxxx-xxxxx" TYPE="LVM2_member"
/dev/mapper/vg_xxxxxx-lv_root: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
/dev/mapper/vg_xxxxxx-lv_swap: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"swap"
/dev/mapper/vg_xxxxxx-lv_home: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
ls -l /dev/disk/by-uuid
xxxxx-xxxxx-xxx-xxxx-xx -> ../../dm-2 ### /home
xxxxx-xxxxx-xxx-xxxx-xx -> ../../dm-0 ### /
xxxxx-xxxxx-xxx-xxxx-xx -> ../../dm-1 ### swap
this's all i tried.
i don't try dmsetup command as i'm not sure this command will make me lose data or not. i have some data in first Harddisk.
:-)
as you mention, I had setup raid 1. and i unplug one disk and clean install CentOS 6. the 2nd harddisk, i used to installed new system for multi OS on other PC to test window and ubuntu 10.10. that is last status of my 2nd harddisk.
i wipe my 2nd harddisk by used system rescue linux - Gparted . and it still be can't now boot.
#fdisk /dev/sda # it show 2 physical partition as /dev/sda1 /boot and /dev/sda2 linux LVM
#blkid
/dev/sdb: TYPE="promise_fasttrack_raid_member"
/dev/sda2: UUID="xxxxxxxxx-xxxx-xxxxx" TYPE="LVM2_member"
/dev/mapper/vg_xxxxxx-lv_root: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
/dev/mapper/vg_xxxxxx-lv_swap: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"swap"
/dev/mapper/vg_xxxxxx-lv_home: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
ls -l /dev/disk/by-uuid
xxxxx-xxxxx-xxx-xxxx-xx -> ../../dm-2 ### /home
xxxxx-xxxxx-xxx-xxxx-xx -> ../../dm-0 ### /
xxxxx-xxxxx-xxx-xxxx-xx -> ../../dm-1 ### swap
this's all i tried.
i don't try dmsetup command as i'm not sure this command will make me lose data or not. i have some data in first Harddisk.
:-)
Re: add new disk and system boot fails
last update
as last blkid comand
/dev/sdb: TYPE="promise_fasttrack_raid_member"
after i try wipe sdb agiain
now after i run blkid result as below no sdb display
#blkid
/dev/sda2: UUID="xxxxxxxxx-xxxx-xxxxx" TYPE="LVM2_member"
/dev/mapper/vg_xxxxxx-lv_root: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
/dev/mapper/vg_xxxxxx-lv_swap: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"swap"
/dev/mapper/vg_xxxxxx-lv_home: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
but system still stop same state
i try to used linux rescue by used CentOS 6.0 i386 DVD and it is stop in search exiting system. and display error on screen as lvm error something.
finally
i decise to reinstall as upgrade existing by used CentOS 6.0 i386 DVD
and i got error, lucky as CentOS installation it provide root promt, so i scp anaconda file to other machine. detail in the attached file.
**** SORRY, as i'm newbie user, I can't used attached file feature ******** what email i should sent file to.
Look like, i have to clean install . if i want to add my 2nd disk.
Cheer.
as last blkid comand
/dev/sdb: TYPE="promise_fasttrack_raid_member"
after i try wipe sdb agiain
now after i run blkid result as below no sdb display
#blkid
/dev/sda2: UUID="xxxxxxxxx-xxxx-xxxxx" TYPE="LVM2_member"
/dev/mapper/vg_xxxxxx-lv_root: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
/dev/mapper/vg_xxxxxx-lv_swap: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"swap"
/dev/mapper/vg_xxxxxx-lv_home: UUID="xxxxxx-xxxxxx-xxx-xx" TYPE"ext4"
but system still stop same state
i try to used linux rescue by used CentOS 6.0 i386 DVD and it is stop in search exiting system. and display error on screen as lvm error something.
finally
i decise to reinstall as upgrade existing by used CentOS 6.0 i386 DVD
and i got error, lucky as CentOS installation it provide root promt, so i scp anaconda file to other machine. detail in the attached file.
**** SORRY, as i'm newbie user, I can't used attached file feature ******** what email i should sent file to.
Look like, i have to clean install . if i want to add my 2nd disk.
Cheer.
Re: add new disk and system boot fails
OK
finally i found solution for me, Thanks Gerald for mention about RAID device.
#dmraid -rE
Cheer.
finally i found solution for me, Thanks Gerald for mention about RAID device.
#dmraid -rE
Cheer.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: [SOLVED] add new disk and system boot fails
Thanks for reporting back. Marking this thread [SOLVED] for posterity.