Ubuntu is not recognizing SAS drive
by redir from LinuxQuestions.org on (#53DWC)
I'm truly stuck here. I'm trying to set up a RAID1 server using Ubuntu 18.04LTS. I think I fouled up one of the SAS drives when installing. I started the install from a USB flash drive and got to the point where I start the manual file system setup. At that time both of my HP 2TB drives were visible.
Here is where my memory gets fuzzy about how I screwed it up. But basically at this point I was jut going through the motions. My server had hardware RAID and this set up was for software RAID.
I think this is what I did,
Now the drive is almost totally unrecognizable. Fdisk simple ignores it:
Code:Disk /dev/sda: 7.48 GiB, 8022654976 bytes, 15669248 sectors
Disk model: USB Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4601e0ea
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 15669247 15667200 7.5G c W95 FAT32 (LBA)
Disk /dev/sdb: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: MB2000FAMYV
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C7C8E996-7889-4078-BE8F-AE70A7C9D42B
ubuntu@ubuntu:~/Desktop$The Disks utility tool shows the drive with it's serial number but thinks the file size is zero. IT simple says "No Media"
Here is a pic of the first disk that works correctly:
https://i.imgur.com/2hhFD8Ph.png
And here is the second drive:
https://i.imgur.com/6ebmAhZh.png
Disks will not let me do anything with that second drive. When I click on the 3 dot icon for the tools they are all greyed out. I cannot format it, partition it, etc...
Anyone have any suggestions for this odd little predicament?
REgards.


Here is where my memory gets fuzzy about how I screwed it up. But basically at this point I was jut going through the motions. My server had hardware RAID and this set up was for software RAID.
I think this is what I did,
- selected the first drive and made it a boot device
- Then on the same device I added a max size partition
- then I added a max size partition on the second device
- none of these drives were formatted at this time
- then I went to set up RAID under the option, software RAID
Now the drive is almost totally unrecognizable. Fdisk simple ignores it:
Code:Disk /dev/sda: 7.48 GiB, 8022654976 bytes, 15669248 sectors
Disk model: USB Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4601e0ea
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 15669247 15667200 7.5G c W95 FAT32 (LBA)
Disk /dev/sdb: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: MB2000FAMYV
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C7C8E996-7889-4078-BE8F-AE70A7C9D42B
ubuntu@ubuntu:~/Desktop$The Disks utility tool shows the drive with it's serial number but thinks the file size is zero. IT simple says "No Media"
Here is a pic of the first disk that works correctly:
https://i.imgur.com/2hhFD8Ph.png
And here is the second drive:
https://i.imgur.com/6ebmAhZh.png
Disks will not let me do anything with that second drive. When I click on the 3 dot icon for the tools they are all greyed out. I cannot format it, partition it, etc...
Anyone have any suggestions for this odd little predicament?
REgards.