You are not logged in.

#1 2019-10-02 23:23:01

lopanrs
Member
From: Rio Grande do Sul, BR
Registered: 2016-08-30
Posts: 6

Issues with fakeraid-0

Hi there! First post here. smile

Recently i bough two ssd drives and setup a fakeraid 0 to put some games and virtual machines. Did the raid 0 array using bios setup and format with ntfs on windows. Install some games, transfer the VMs and all ok.
Today boot on arch and try to access it. But there's no partition of the array. So i'm asking here how to proceed, i did some read but no luck and i have never work with raid before. I'll put some output of what i got here:

[root@LUCKY mnt]# lsblk 
NAME             MAJ:MIN RM   SIZE RO TYPE   MOUNTPOINT
sda                8:0    0 223.6G  0 disk   
└─pdc_cabcgbcdjd 253:0    0 445.2G  0 dmraid 
sdb                8:16   0 223.6G  0 disk   
└─pdc_cabcgbcdjd 253:0    0 445.2G  0 dmraid 
sdc                8:32   0 931.5G  0 disk   
└─sdc1             8:33   0 931.5G  0 part   /mnt/sdc1
sr0               11:0    1 699.5M  0 rom    
nvme0n1          259:0    0 238.5G  0 disk   
├─nvme0n1p1      259:1    0   100M  0 part   /boot
├─nvme0n1p2      259:2    0  62.7G  0 part   /mnt/nvme0n1p2
├─nvme0n1p3      259:3    0    16G  0 part   /
└─nvme0n1p4      259:4    0 159.8G  0 part   /mnt/nvme0n1p4
[root@LUCKY mnt]# fdisk -l
Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PM951 NVMe SAMSUNG 256GB                
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: D0B294AF-73A4-42F8-9488-B1503CAAC4CF

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048    206847    204800   100M EFI System
/dev/nvme0n1p2    206848 131698849 131492002  62.7G Microsoft basic data
/dev/nvme0n1p3 131700736 165122047  33421312    16G Microsoft basic data
/dev/nvme0n1p4 165122048 500117503 334995456 159.8G Microsoft basic data


Disk /dev/sdb: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: CT240BX500SSD1  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdc: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST31000524AS    
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: 0x3c607a1c

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdc1          63 1953520064 1953520002 931.5G  7 HPFS/NTFS/exFAT


Disk /dev/sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: CT240BX500SSD1  
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: 0x09206240

Device     Boot Start        End    Sectors Size Id Type
/dev/sda1           1 4294967295 4294967295   2T ee GPT


Disk /dev/mapper/pdc_cabcgbcdjd: 445.18 GiB, 477999923200 bytes, 933593600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disklabel type: gpt
Disk identifier: 6CECB8E8-CD34-4027-9B73-D8E037AA9068

Device                           Start       End   Sectors   Size Type
/dev/mapper/pdc_cabcgbcdjd-part1    34 933593565 933593532 445.2G Microsoft basic data

Partition 1 does not start on physical sector boundary.

/dev/mapper/pdc_cabcgbcdjd-part1 <- this does not exist in /dev/mapper
/dev/sda1           1 4294967295 4294967295   2T ee GPT <- this partition does not exist too, /dev/sda and /dev/sdb are the SSD drives roll

[root@LUCKY mnt]# ls /dev/mapper/
control  pdc_cabcgbcdjd

dmraid output:

[root@LUCKY mnt]# dmraid -r
/dev/sda: pdc, "pdc_cabcgbcdjd", stripe, ok, 466796800 sectors, data@ 0
/dev/sdb: pdc, "pdc_cabcgbcdjd", stripe, ok, 466796800 sectors, data@ 0

Gparted tells this:

Invalid argument during seek for read on /dev/sda
The backup GPT table is corrupt, but the primary appears OK, so that will be used.

The device /dev/mapper/pdc_cabcgbcdjd1 doesn't exist

Failed to open '/dev/mapper/pdc_cabcgbcdjd1'.

The device /dev/mapper/pdc_cabcgbcdjd1 doesn't exist

Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ntfs file system support:  ntfs-3g / ntfsprogs.

There is some misunderstanding between the array setup, the system and me. wink
Thank you in advance and sorry my bad english.


Desktop: Arch Linux x64 - Windows 10 x64
Laptop: Manjaro Linux x64 - Windows 7 x64 - Android x86

Offline

#2 2019-10-07 06:13:03

Pillgar
Member
Registered: 2017-07-05
Posts: 29

Re: Issues with fakeraid-0

What does dmraid -ay give you?  and pretty obvious, but you do have ntfs-3g?

Offline

#3 2019-10-09 10:14:10

lopanrs
Member
From: Rio Grande do Sul, BR
Registered: 2016-08-30
Posts: 6

Re: Issues with fakeraid-0

Hi. thank you for reply.

dmraid -ay output:

dmraid -ay
RAID set "pdc_cabcgbcdjd" already active

dmraid -tay output:

dmraid -tay
pdc_cabcgbcdjd: 0 933593600 striped 2 256 /dev/sda 0 /dev/sdb 0

ntfs-3g is installed as well:

pacman -Qs ntfs-3g
local/ntfs-3g 2017.3.23-3
    NTFS filesystem driver and utilities

I double check my fakeraid setup in bios, and disable the SATA port that has one 1TB AHCI Sata Drive. No luck
The drives in BIOS are:
port 1 - Crucial SSD BX500 CT240BX500SSD1
port 2 - Crucial SSD BX500 CT240BX500SSD1
port 3 - none
port 4 - none
port 5 - Seagate 1TB ST31000524AS
port 6 - ODD
and one nvme drive that handle Arch Linux and Windoze 10.
After finish the games that are on fakeraid, i'll format it on Linux, maybe this helps.
One thing that i notice is /dev/sda and /dev/sdb are transparent on windows, they does not even show in disk manager. Only the fakeraid with 512GB.


Desktop: Arch Linux x64 - Windows 10 x64
Laptop: Manjaro Linux x64 - Windows 7 x64 - Android x86

Offline

#4 2019-10-13 17:23:26

hugopoi
Member
Registered: 2019-10-13
Posts: 5

Re: Issues with fakeraid-0

Have you try parted directly on raid device mapper for testing if there is a readable partition table ?

parted /dev/mapper/pdc_cabcgbcdjd

Not sure it help, the wiki is not very helpful

Wiki wrote:

No block devices for partitions on existing RAID array

If your existing array, set up before attempting to install arch, appears in /dev/mapper/raidnamehere, but does not have any partitions (raidnamehere1, etc) re-check the status of your RAID partitions.

Arch may not create block devices for partitions that work in another OS if there are certain, even minor, problems.

gparted is useful to diagnose and repair most problems. Unfortunately, you may have to repartition from scratch.

Dmraid is unmaintained but this annoying because there isn't a pretty alternative to use raid with Arch and Windows dual boot solution.

Offline

Board footer

Powered by FluxBB