Re: Mdadm drive fail power cord issue.

2013-06-28 Thread Muhammad Yousuf Khan
[cut] ok as it shows and you also advice to replace the disk. i think it would be better to replace the GPT. for ease of use. and am going to create another box. Sorry but the above is hard for me to understand. Are you asking how you can transfer users from /etc/passwd on one machine to

Re: Mdadm drive fail power cord issue.

2013-06-27 Thread Muhammad Yousuf Khan
See in the above that md1 is active on /dev/sdc1 while the other devices are all active in /dev/sdb{2,3,4}. This means you need to be careful which disk you do things to since you could wipe out the other disk if not careful. Three are one way and one is the other way. hmm i have taken the

Re: Mdadm drive fail power cord issue.

2013-06-27 Thread Bob Proulx
Muhammad Yousuf Khan wrote: root@nasbox:~# sfdisk -d /dev/sdc read: Input/output error That looks scary to me. You have an active partition on /dev/sdc1 but here /dev/sdc reported an I/O error? That seems very bad. At this point I would stop and look carefully at the drive. I

Re: Mdadm drive fail power cord issue.

2013-06-21 Thread Muhammad Yousuf Khan
Sorry for the late response. On Sat, Jun 15, 2013 at 1:07 AM, Bob Proulx b...@proulx.com wrote: Muhammad Yousuf Khan wrote: one of our server's drive failed due to power cord issue. however i plug it back and due to less experience with parted i messed the whole thing. If it was a

Re: Mdadm drive fail power cord issue.

2013-06-21 Thread Bob Proulx
Muhammad Yousuf Khan wrote: Sorry for the late response. No problem. I am often distracted myself with various things away from the mailing lists and can't respond as often as I would like. Bob Proulx wrote: Muhammad Yousuf Khan wrote: root@nasbox:~# mdadm --detail /dev/md1 Number

Mdadm drive fail power cord issue.

2013-06-14 Thread Muhammad Yousuf Khan
one of our server's drive failed due to power cord issue. however i plug it back and due to less experience with parted i messed the whole thing. i have 2tbx2 RAID 1 mirror and have 4x500GB partitions. even i selected the right drive by select command and deleted the right partition but parted

Re: Mdadm drive fail power cord issue.

2013-06-14 Thread Bob Proulx
Muhammad Yousuf Khan wrote: one of our server's drive failed due to power cord issue. however i plug it back and due to less experience with parted i messed the whole thing. If it was a power cord issue, and you plugged it back in, then there should be no need to use parted. Simply mdadm