2Big Network 2, Hard disk 2 failed

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Sat Jun 10, 2017 5:41 pm

This is what I tried yesteday without success. But for sure, I probably made mistake with the command and I don't know what is the meaning "(with one component only)".
Do you have the full command list to do that ?
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Sat Jun 10, 2017 6:15 pm

So on your Ubuntu with the sane disk

I assume its name is hdb (change it according to the output of fdisk -l

Do
Code: Select all
mdadm --assemble /dev/md4 /dev/hdb2 --run

So logically it warns the raid is built with one component!

see what said mdadm --detail /dev/md4
if the array status is clean, degraded

mount md4
Code: Select all
mkdir /tmp/md4
mount /dev/md4 /tmp/md4

So in /tmp/md4 you should see a folder shares where are your data.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Sat Jun 10, 2017 6:38 pm

Hi Jocko,
I'm know I consume your time... Sorry. Let me post the results after your commands.
In your last command, I see hdb2. You mean sdb2 ?
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Sat Jun 10, 2017 6:42 pm

I assume its name is hdb (change it according to the output of fdisk -l
So change it by its name on Ubuntu
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Sat Jun 10, 2017 6:42 pm

So I typed "mdadm --assemble /dev/md4 /dev/sdb2 --run"
and I get the message : "mdadm: /dev/sdb2 is busy - skipping"

with the cmd "mdadm --detail /dev/md4
i get : "mdadm: cannot open /dev/md4: No such file or directory"
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Sat Jun 10, 2017 6:44 pm

so that means sdb2 is already mounted!

see the output
mount


(on Ubuntu the os tries to mount any partitions)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Sat Jun 10, 2017 7:45 pm

Mount gives this error :
Code: Select all
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
Home on /media/psf/Home type prl_fs (rw,nosuid,nodev,sync,noatime,share)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=parallels)

I think this is maybe because of the Hard Disk Fuse on the mac... (SSD combined with Hard disk)
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby manelppa » Sat Jun 10, 2017 7:47 pm

If I type this command :
Code: Select all
mount -t xfs /dev/sdb2 /mnt
mount: /dev/sdb2 already mounted or /mnt busy
manelppa
Donator VIP
Donator VIP
 
Posts: 67
Joined: Wed Jan 25, 2017 1:39 pm

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Sat Jun 10, 2017 7:48 pm

I do not think that

Can you post
Code: Select all
cat /proc/mdstat
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 2Big Network 2, Hard disk 2 failed

Postby Jocko » Sat Jun 10, 2017 7:50 pm

Code: Select all
mount -t xfs /dev/sdb2 /mnt
mount: /dev/sdb2 already mounted or /mnt busy
This will work only if you delete the superblock !!!

It is the raid device which must be mounted after assembling the raid!

post also
Code: Select all
madam --exemine /dev/sdb2
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 7 guests

cron