Cent OS not booting after changing Raid from 5 to 6

General support questions
mariomiron
Posts: 11
Joined: 2017/07/08 19:41:17

Re: Cent OS not booting after changing Raid from 5 to 6

Post by mariomiron » 2017/07/08 21:58:29

im also think that

#UUID=a336448f-1dc0-43fa-a556-05a60be8a3a0 /lms-data xfs defaults 1 2

this is no longer available now it should be named DATA not /lms-data

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cent OS not booting after changing Raid from 5 to 6

Post by TrevorH » 2017/07/08 21:58:48

Isn't your RAID array seen as /dev/sda?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mariomiron
Posts: 11
Joined: 2017/07/08 19:41:17

Re: Cent OS not booting after changing Raid from 5 to 6

Post by mariomiron » 2017/07/08 22:01:12

It should be

mariomiron
Posts: 11
Joined: 2017/07/08 19:41:17

Re: Cent OS not booting after changing Raid from 5 to 6

Post by mariomiron » 2017/07/08 22:27:23

[root@LIB01 Desktop]# parted
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: DELL PERC H710 (scsi)
Disk /dev/sda: 299GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 248GB 247GB primary ext4
3 248GB 280GB 32.2GB primary ext4
4 280GB 299GB 19.3GB extended
5 280GB 291GB 10.7GB logical ext4
6 291GB 299GB 8588MB logical linux-swap(v1)

(parted)
(parted)
(parted) quit
[root@LIB01 Desktop]# fdisk

fdisk: Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks

Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u <size> give sizes in sectors instead of cylinders
-v print version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track

: Success
[root@LIB01 Desktop]# fdisk -l

Disk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00079d1b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 30139 241576960 83 Linux
/dev/sda3 30139 34056 31457280 83 Linux
/dev/sda4 34056 36405 18874368 5 Extended
/dev/sda5 34056 35361 10485760 83 Linux
/dev/sda6 35361 36405 8386560 82 Linux swap / Solaris

Disk /dev/sdb: 12000.1 GB, 12000138625024 bytes
255 heads, 63 sectors/track, 1458933 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cent OS not booting after changing Raid from 5 to 6

Post by TrevorH » 2017/07/08 22:37:20

You appear to have two "disks", presumably both arrays presented by the RAID controller. Everything that is mounted or has a valid filesystem on it was listed in the blkid output and by the looks of it, your second disk doesn't even have a partition table on it. You may want to doublecheck if you did what you thought you did in the RAID controller when you added the drive. I fear you may well be in need of your backups around now...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mariomiron
Posts: 11
Joined: 2017/07/08 19:41:17

Re: Cent OS not booting after changing Raid from 5 to 6

Post by mariomiron » 2017/07/08 22:39:08

I dont have anything on the second raid i can be wiped clean i just need the os to recognize it because right now i dont thin it is seeing it

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: Cent OS not booting after changing Raid from 5 to 6

Post by tunk » 2017/07/09 00:40:26

I guess /dev/sdb is your new 12TB raid. You need to:
- partition it
- format it
- mount it
- put something in /etc/fstab

Post Reply