That absolutly fixxed it, maby someone can add the blkid to the default questions My raid is rebuilding now so i'm a very happy man!
Beiträge von Theelepel88
-
-
Just copying half a terra of photo's now, after that i will turn it off, remove the correct disks, boot in rescue mode, see if i can completly destroy disk C (or fix it...) and then shutdown, put disks back in, boot.
I will let you know. Copy-ing the photo's will take some time so have to wait for that.. don't want to loose those, i can live without the movies and series and music i collected.
-
Can i just remove the correct disks while doing the procedure? That would make sure i won't delete any data right?
-
No prob i can call international that's not the issue
1) yes about 7TB
2)despite your signature... i went skydiving without a parachuteCan i just whipe disk 2 and then add it to the raid? It's in a degraded state now so i shouldn;t use that disk. But if another fails i'm screwed.....
-
Ohh the location question makes me think there is alot wrong, but i'm no where near you i live in the Netherlands
Physically near the nas though.
-
Yes i replaced a disk in the array, i added a 4TB instead of a 3TB so i can slowly make the transition to 4TB drives.
blkid
gaveCode
Alles anzeigen/dev/sda: UUID="a6af1c8f-c364-2be9-9257-85ac37b4f7d0" UUID_SUB="2b20e8a7-125f-091b-5dd7-16b528eebeb6" LABEL="NAS-Jory:NAS" TYPE="linux_raid_member" /dev/sdb: UUID="a6af1c8f-c364-2be9-9257-85ac37b4f7d0" UUID_SUB="aff6fa5a-2158-8b2b-7dfc-0e4ffbfbba79" LABEL="NAS-Jory:NAS" TYPE="linux_raid_member" /dev/sdc: TYPE="zfs_member" /dev/sdd: UUID="a6af1c8f-c364-2be9-9257-85ac37b4f7d0" UUID_SUB="b63fb25d-b5a1-f3b2-9938-8644fcfb22cd" LABEL="NAS-Jory:NAS" TYPE="linux_raid_member" /dev/sde1: UUID="b7f84e5e-0dd6-4916-9523-7efa28fda8db" TYPE="ext4" PARTUUID="9b344873-01" /dev/sde5: UUID="e4455646-7655-432f-afc1-f660ec01d150" TYPE="swap" PARTUUID="9b344873-05"
Funny it shows as ZFS member, because the disk that is replaced is not that disk. I had a few reinstalls after changing the disk though.(initial setup was 4x3TB, then i went to a disk array (20x2TB)and when i got the energy bill i went back to 3x3TBand 1x4TB. I actually made a new array, on a different microserver(i borrowed one) and copied all data from my external enclosure to internal disks. then destroyed the external enclosure.
-
Yes, but the layout of my reply got messed up. I copied everything from your post in the correct order.
The one thing i think is weird is the response on
mdadm --zero-superblock /dev/sdc
which is
mdadm: Unrecognised md component device - /dev/sdc -
mdadm --stop /dev/md127
Codecat /proc/mdstat gave Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] unused devices: <none>
gaveCode
Alles anzeigenmdadm --assemble --verbose --force /dev/md127 /dev/sd[abcd] gave dadm --assemble --verbose --force /dev/md127 /dev/sd[abcd] mdadm: looking for devices for /dev/md127 mdadm: No super block found on /dev/sdc (Expected magic a92b4efc, got 00000000) mdadm: no RAID superblock on /dev/sdc mdadm: /dev/sdc has no superblock - assembly aborted
-
mdadm --stop /dev/md127
gave
mdadm: stopped /dev/md127mdadm --assemble --verbose --force /dev/md127 /dev/sd[abcd]
gave
mdadm: looking for devices for /dev/md127
mdadm: /dev/sda is identified as a member of /dev/md127, slot 1.
mdadm: /dev/sdb is identified as a member of /dev/md127, slot 0.
mdadm: /dev/sdc is identified as a member of /dev/md127, slot 2.
mdadm: /dev/sdd is identified as a member of /dev/md127, slot 3.
mdadm: added /dev/sda to /dev/md127 as 1
mdadm: added /dev/sdc to /dev/md127 as 2 (possibly out of date)
mdadm: added /dev/sdd to /dev/md127 as 3
mdadm: added /dev/sdb to /dev/md127 as 0
mdadm: /dev/md127 has been started with 3 drives (out of 4).cat /proc/mdstat
gave
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid5 sdb[0] sdd[3] sda[1]
8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UU_U]
bitmap: 5/22 pages [20KB], 65536KB chunkunused devices: <none>
cat /etc/mdadm/mdadm.con
gave
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
## by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes# automatically tag new arrays as belonging to the local system
HOMEHOST <system># definitions of existing MD arrays
-
So my 4 disk Raid 5 is degraded in a clean state, and i can see the 4th disk in OMV but i just cannot add it to the raid to recover it.
I saw i needed to post this info, so here goes .- cat /proc/mdstat
gives;
cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid5 sda[1] sdd[3] sdb[0]
8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UU_U]
bitmap: 5/22 pages [20KB], 65536KB chunkunused devices: <none>
- blkid
gives;
/dev/sda: UUID="a6af1c8f-c364-2be9-9257-85ac37b4f7d0" UUID_SUB="2b20e8a7-125f-091b-5dd7-16b528eebeb6" LABEL="NAS-Jory:NAS" TYPE="linux_raid_member"
/dev/md127: UUID="1db1716f-6925-4055-b177-90ec77c59e66" TYPE="ext4"
/dev/sdb: UUID="a6af1c8f-c364-2be9-9257-85ac37b4f7d0" UUID_SUB="aff6fa5a-2158-8b2b-7dfc-0e4ffbfbba79" LABEL="NAS-Jory:NAS" TYPE="linux_raid_member"
/dev/sdc: UUID="a6af1c8f-c364-2be9-9257-85ac37b4f7d0" UUID_SUB="60f1906c-95c7-70f0-30d0-e561ad3c27c8" LABEL="NAS-Jory:NAS" TYPE="linux_raid_member"
/dev/sdd: UUID="a6af1c8f-c364-2be9-9257-85ac37b4f7d0" UUID_SUB="b63fb25d-b5a1-f3b2-9938-8644fcfb22cd" LABEL="NAS-Jory:NAS" TYPE="linux_raid_member"
/dev/sde1: UUID="b7f84e5e-0dd6-4916-9523-7efa28fda8db" TYPE="ext4" PARTUUID="9b344873-01"
/dev/sde5: UUID="e4455646-7655-432f-afc1-f660ec01d150" TYPE="swap" PARTUUID="9b344873-05"- fdisk -l | grep "Disk
gives
fdisk -l | grep sdc
Disk /dev/sdc: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors- cat /etc/mdadm/mdadm.conf
gives
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
## by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes# automatically tag new arrays as belonging to the local system
HOMEHOST <system># definitions of existing MD arrays
- mdadm --detail --scan --verbose
ARRAY /dev/md/NAS-*NAME*:NAS level=raid5 num-devices=4 metadata=1.2 name=NAS-*NAME*:NAS UUID=a6af1c8f:c3642be9:925785ac:37b4f7d0
devices=/dev/sda,/dev/sdb,/dev/sddDisk sdc is the issue here, i even did a complete new install and have the same issue. So hoping for your thoughts
-
Third time seems to be the working one.... still weird, but at least it's working after multiple reinstalls
-
So i did a complete reinstall of OMV... And guess what, same issue???
EDIT: And another reinstall, directly after reinstalling i added the OMV extras repo and installed plex.. Still the same issue, getting ready to throw the nas out of the window.
-
After reinstalling Plex it wil not start anymore. Needed to reinstall because for some weird reason it wouldn't connect to my parents tv as i moved the nas to their house.
Tried the uninstall, apt-clean, restart, instal, restart,
Did some searching and got some more details;
root@nas-hans:~# sudo service plexmediaserver start
root@nas-hans:~# sudo service plexmediaserver status
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2018-02-02 22:19:11 CET; 1s ago
Process: 3932 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server" (code=exited, status=134)
Process: 3929 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"/bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
Main PID: 3932 (code=exited, status=134)
Feb 02 22:19:11 nas-hans systemd[1]: plexmediaserver.service: main process exited, code=exited, status=134/n/a
Feb 02 22:19:11 nas-hans systemd[1]: Unit plexmediaserver.service entered failed state.
root@nas-hans:~# systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled)
Active: failed (Result: start-limit) since Fri 2018-02-02 22:19:21 CET; 1min 19s ago
Process: 3952 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server" (code=exited, status=134)
Process: 3948 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"/bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
Main PID: 3952 (code=exited, status=134)
Feb 02 22:19:16 nas-hans systemd[1]: plexmediaserver.service: main process exited, code=exited, status=134/n/a
Feb 02 22:19:16 nas-hans systemd[1]: Unit plexmediaserver.service entered failed state.
Feb 02 22:19:21 nas-hans systemd[1]: plexmediaserver.service holdoff time over, scheduling restart.
Feb 02 22:19:21 nas-hans systemd[1]: Stopping Plex Media Server for Linux...
Feb 02 22:19:21 nas-hans systemd[1]: Starting Plex Media Server for Linux...
Feb 02 22:19:21 nas-hans systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start.
Feb 02 22:19:21 nas-hans systemd[1]: Failed to start Plex Media Server for Linux.
Feb 02 22:19:21 nas-hans systemd[1]: Unit plexmediaserver.service entered failed state.
root@nas-hans:~# journalctl -xn
-- Logs begin at Fri 2018-02-02 22:14:10 CET, end at Fri 2018-02-02 22:21:27 CET. --
Feb 02 22:21:26 nas-hans systemd[1]: Activated swap /dev/sdb5.
-- Subject: Unit dev-sdb5.swap has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-sdb5.swap has finished starting up.
--
-- The start-up result is done.
Feb 02 22:21:26 nas-hans systemd[1]: Activated swap /dev/disk/by-id/ata-ST91000640NS_9XG2GZEY-part5.
-- Subject: Unit dev-disk-by\x2did-ata\x2dST91000640NS_9XG2GZEY\x2dpart5.swap has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-disk-by\x2did-ata\x2dST91000640NS_9XG2GZEY\x2dpart5.swap has finished starting up.
--
-- The start-up result is done.
Feb 02 22:21:26 nas-hans systemd[1]: Activated swap /dev/disk/by-id/wwn-0x5000c5004de979c0-part5.
-- Subject: Unit dev-disk-by\x2did-wwn\x2d0x5000c5004de979c0\x2dpart5.swap has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-disk-by\x2did-wwn\x2d0x5000c5004de979c0\x2dpart5.swap has finished starting up.
--
-- The start-up result is done.
Feb 02 22:21:26 nas-hans systemd[1]: Started Plex Media Server for Linux.
-- Subject: Unit plexmediaserver.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit plexmediaserver.service has finished starting up.
--
-- The start-up result is done.
Feb 02 22:21:26 nas-hans sh[4056]: terminate called after throwing an instance of 'std::runtime_error'
Feb 02 22:21:26 nas-hans sh[4056]: what(): Codecs: Initialize: 'boost::filesystem::create_directory: Too many levels of symbolic links: "/var/lib/plexmediaserver/Library/Applicatio
Feb 02 22:21:26 nas-hans sh[4056]: ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.10.
Feb 02 22:21:27 nas-hans sh[4056]: Aborted
Feb 02 22:21:27 nas-hans systemd[1]: plexmediaserver.service: main process exited, code=exited, status=134/n/a
Feb 02 22:21:27 nas-hans systemd[1]: Unit plexmediaserver.service entered failed state.
And then the Crash Report has no errorsall out of ideas now, and due to all the rsync jobs and configuring, i really don't like the thought of reinstalling (omv) yet again