hi
i have a fresh installed omv
i created a raid 1 of 2 HDDs its shows as clean:
when i want to make a filesystem on that new raid it shows:
it takes some minutes to finish and after about 5 min when i refresh the page its gone like i never created it
i have no idea why its not working
when i look with SSH it looks good
Code
root@NAS:/var/log# mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Wed Jan 10 14:04:10 2018
Raid Level : raid1
Array Size : 1953383488 (1862.89 GiB 2000.26 GB)
Used Dev Size : 1953383488 (1862.89 GiB 2000.26 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Thu Jan 11 09:15:42 2018
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : NAS:raid1 (local to host NAS)
UUID : b663e51f:85294edc:21b121b9:960cd5d6
Events : 4026
Number Major Minor RaidDevice State
0 8 16 0 active sync /dev/sdb
1 8 32 1 active sync /dev/sdc
Alles anzeigen
any idea is welcome
edit: when i try to mount it over SSH i get
Code
root@NAS:/var/log# mount /dev/md0 /home
mount: /dev/md0: more filesystems detected. This should not happen,
use -t <type> to explicitly specify the filesystem type or
use wipefs(8) to clean up the device.
edit²:
i think i found the Problem, when i start gparted i get "The primary GPT table is corrupt, but the backup appears OK, so that will be used."
i have made a new table with gdisk but it still say "The primary GPT table is corrupt, but the backup appears OK, so that will be used."
maybe one of the disk is broken it shows bad SMART
fixed it with:
Code
root@NAS:/var/log# gdisk /dev/sdb
GPT fdisk (gdisk) version 1.0.1
Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help): v
Problem: The CRC for the main partition table is invalid. This table may be
corrupt. Consider loading the backup partition table ('c' on the recovery &
transformation menu). This report may be a false alarm if you've already
corrected other problems.
Identified 1 problems!
Command (? for help): r
Recovery/transformation command (? for help): c
Warning! This will probably do weird things if you've converted an MBR to
GPT form and haven't yet saved the GPT! Proceed? (Y/N): y
Recovery/transformation command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
Alles anzeigen