Beiträge von nubdubdidubdub

    Will I be able to recover the array or am I toast?


    I found some commands by Googling but I don't want to lose my data if possible :/


    EDIT: I was able to get the array back up with:
    root@openmediavault:~# mdadm -A --scan
    mdadm: /dev/md0 has been started with 2 drives (out of 3) and 1 rebuilding.



    So now I am back to the beginning, with the one drive stuck in "spare rebuilding /dev/sdc1"-mode

    I had to unmount the md0 because a process was using it with "umount -l /dev/md0"
    But now it appears the device does not have a superblock, mounted or not (mount -a) and can't be assembled.


    root@openmediavault:~# mdadm --assemble --verbose --force /dev/md0 /dev/sd[bcd]1
    mdadm: looking for devices for /dev/md0
    mdadm: no RAID superblock on /dev/sdd1
    mdadm: /dev/sdd1 has no superblock - assembly aborted


    root@openmediavault:~# mdadm --add /dev/md0 /dev/sdd1
    mdadm: cannot get array info for /dev/md0

    It appears that the device is busy, but when I try to stop the device it's not part of the raid.


    root@openmediavault:~# mdadm --add /dev/md0 /dev/sdd1
    mdadm: Cannot open /dev/sdd1: Device or resource busy


    root@openmediavault:~# mdadm --stop /dev/sdd1
    mdadm: /dev/sdd1 does not appear to be an md device

    Hi guys,


    I swapped out a drive which was reporting some bad sectors for a new drive.
    The drive started rebuilding fine, but when it was finished it keeps reporting "spare rebuilding"


    I'm not sure what's wrong and Google hasn't brought a solution...
    Do you guys have an idea how to fix this?


    Thanks in advance


    root@openmediavault:~# mdadm --detail /dev/md0


    root@openmediavault:~# cat /proc/mdstat

    Ofcourse


    Thanks for having a look.


    root@openmediavault:/media/b815c7ef-3280-4f67-b063-6c4773bc5cb3# ls -la

    Hi guys,


    I have been running a NAS server with shares on plain Debian and decided to move to OMV2.1.
    However I am running into a bit of difficulty in setting op the SAMBA shares...


    The share is browsable under windows, but I do not get asked for a username or password, and get greeted with "Windows cannot access..."


    Could someone give me someone tell me what could be the issue?


    I've dumped the output of the most relevant command below:


    root@openmediavault:/etc/samba# cat smb.conf


    root@openmediavault:/media/b815c7ef-3280-4f67-b063-6c4773bc5cb3# ls -l


    root@openmediavault:/media/b815c7ef-3280-4f67-b063-6c4773bc5cb3# getfacl david



    Thanks for having a look!