Profile Details

Toggle Sidebar
Recent updates
  • Was ther eve a resolution for this one?

    I have the same issue, when i don't have internet access, it takes a very long time to login to my ClerOS box.
    Even using WinSCP, same issue.

    When i have internet access, it is fast almost imedeate, but without internet access it takes forever and even timeout.

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    Hi Tony

    Thank you for all the help, but i am at the point where, so my data is gone... deal with it...
    I am prepared to start from scratch, about 4TB will be lost, i think i can get most of it back over time from other sources, it might just take some time.

    I still have the issue where on every reboot, the raid - /var/sd[abcefgijkl] is not the same as the next.
    This is what seems to be the issue - we got side tracked trying to recover the data after the reboot and i loaded data on the drive.

    Any idea how i resolve my original issue?

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    Hi Tony

    I created a mdadm.conf file, this is the content

    ARRAY /dev/md/0 metadata=1.2 name=Zodiac.lan:0 UUID=785c89de:1d355c46:9b116951:21d6c4b3

    And it booted into emergency mode again?

    Any idea?

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    Hi Tony

    I did

    mdadm --create /dev/md0 --level=6 --chunk=64 --raid-devices=10 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdi1 /dev/sdl1 /dev/sdj1 /dev/sdk1

    I spent hours reading and trying to do a reassemble with Zero success, so i took the dive.

    Only thing i need to check is why i only see 453GB of 456GB free and not the whole array, shall do some google hunting..

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    Hi Tony

    Yes, not ideal, but i had old P4 3GHz with 4Gig Ram and 2x SATA4000 SI 3114 SATA I 1.5 Gb/s as my previous server.
    It worked fine for what i need it to do.

    Server is busy rebuilding..... should be done in 38 Hours, so let's see.
    I either have data back or nothing....

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    Hi Tony

    The one card is a SUNIX SATA2600 - 2x SATA and the other is a SUNIX SATA 4000 4x SATA

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    Hi Tony

    Let's start with the disk

    [root@Zodiac ~]# smartctl -l scterc /dev/sdc
    smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-514.26.2.v7.x86_64] (local build)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

    SCT Commands not supported


    Here are the rest of the information - I used /dev/md0 when i created the array

    [root@Zodiac ~]# cat /proc/mdstat
    Personalities :
    md127 : inactive sdg1[3](S) sde1[1](S) sdf1[2](S) sdj1[5](S) sdl1[7](S) sdh1[4](S) sdc1[0](S) sdk1[6](S)
    15627059200 blocks super 1.2

    [root@Zodiac ~]# mdadm -S /dev/md127
    mdadm: stopped /dev/md127

    [root@Zodiac ~]# mdadm -S /dev/md0
    mdadm: error opening /dev/md0: No such file or directory

    [root@Zodiac ~]# mdadm --detail --scan
    INACTIVE-ARRAY /dev/md127 metadata=1.2 name=localhost.localdomain:0 UUID=243e5d11:e1049ad5:a4a2ce43:304fdb4f

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    So i get the following:

    [@Zodiac ~]# cat /proc/mdstat
    Personalities :
    md127 : inactive sdg1[7](S) sdf1[6](S) sdd1[4](S) sdc1[3](S) sdb1[2](S) sda1[1](S)
    11720294400 blocks super 1.2

    unused devices: <none>

    and
    [@Zodiac ~]# mdadm --detail -scan
    INACTIVE-ARRAY /dev/md127 metadata=1.2 name=localhost.localdomain:0 UUID=243e5d11:e1049ad5:a4a2ce43:304fdb4f


    [root@Zodiac ~]# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 1.8T 0 disk
    └─sda1 8:1 0 1.8T 0 part
    sdb 8:16 0 1.8T 0 disk
    └─sdb1 8:17 0 1.8T 0 part
    sdc 8:32 0 1.8T 0 disk
    └─sdc1 8:33 0 1.8T 0 part
    sdd 8:48 0 1.8T 0 disk
    └─sdd1 8:49 0 1.8T 0 part
    sde 8:64 0 1.8T 0 disk
    └─sde1 8:65 0 1.8T 0 part
    sdf 8:80 0 1.8T 0 disk
    └─sdf1 8:81 0 1.8T 0 part
    sdg 8:96 0 1.8T 0 disk
    └─sdg1 8:97 0 1.8T 0 part
    sdh 8:112 0 465.8G 0 disk
    ├─sdh1 8:113 0 1G 0 part /boot
    └─sdh2 8:114 0 464.8G 0 part
    ├─clearos-root 253:0 0 456.9G 0 lvm /
    └─clearos-swap 253:1 0 7.9G 0 lvm [SWAP]
    sdi 8:128 0 465.8G 0 disk /var/flexshare/shares/torrents
    sdj 8:144 0 1.8T 0 disk
    └─sdj1 8:145 0 1.8T 0 part
    sdk 8:160 0 1.8T 0 disk
    └─sdk1 8:161 0 1.8T 0 part
    sdl 8:176 0 1.8T 0 disk
    └─sdl1 8:177 0 1.8T 0 part


    As you can see, the OS drive is now sdh and i do not see any disk showing up as raid here.

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    Hi Tony / Nick

    w.r.t the Network, the 2nd NIC is only "missing" when the system goes into emergency mode, i am presuming that the OS does not get that far to load the driver???
    Here is the info on the Network ports:

    00:19.0 Ethernet controller [0200]: Intel Corporation 82578DM Gigabit Network Co nnection [8086:10ef] (rev 05)
    Subsystem: Intel Corporation Device [8086:34ec]
    Kernel driver in use: e1000e
    Kernel modules: e1000e
    --
    02:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Con nection [8086:10d3]
    Subsystem: Intel Corporation Device [8086:34ec]
    Kernel driver in use: e1000e
    Kernel modules: e1000e


    My system is a Intel S3420GP with standard Xeon 3450 and 16GB of RAM
    The board had 6x SATA port and i have 2 PCIe cards to give me an additional 6 SATA ports.
    No hardware Raid is enabled.

    The disks are all from a Qnap NAS that the motherboard failed:
    8x seagate barracuda XT 2TB and 2 more of the same that i purchase to make the 10x

    Power supply is a 850W Gigabyte PSU



    Here is my fstab file - Thank you for pointing out that i need to "#" the Raid map in fstab to boot normal.
    #
    # /etc/fstab
    # Created by anaconda on Thu Sep 14 21:04:41 2017
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    /dev/mapper/clearos-root / xfs defaults 0 0
    UUID=0c365059-ad79-431a-8486-2a83ac85eb67 /boot xfs defaults 0 0
    #UUID="3e796bd4-d628-43ad-a4ba-f6c6c7f93710" /store/data1 ext4 defaults 0 0
    /dev/mapper/clearos-swap swap swap defaults 0 0

    # Mount Drives by Label
    LABEL=Torrents /mnt/Torrents ext3 defaults,noatime 0 0
    /mnt/Torrents /var/flexshare/shares/torrents none defaults,bind 0 0
    #/store/data1/Movies /var/flexshare/shares/movies none defaults,bind 0 0
    #/store/data1/Series /var/flexshare/shares/series none defaults,bind 0 0


    I still get this feeling that on reboot, that the drives - /dev/sd[a-l] - do not stay in sequence.
    I have seen that the boot drive is /dev/sdc and after i add or remove a non-raid drive it will be /dev/sdg.
    To me this means that the raid gets broken, they are not /dev/sdc to /dev/sdk, and that is why it is failing and going into "Emergency" mode?

  • Leon
    Leon replied to a discussion, Changing non-raid drive, breaks Raid

    So it is official.... I HATE RAID.....

    Did a shutdown to move the server back to it's rack.....Emergency mode, again... What The Fudge???
    Is this normal?