Hi Own and all

Owen Townend wrote:
# mdadm --assemble --run --uuid b6035660:c11a8a2e:7026aea2:99d23bfc  /dev/sdc5
# mount /dev/md1 /mnt

N.B.
I haven't checked the syntax, you may need to add /dev/md1 to the
mdadm line.. I don't have a box in front of me to check...
The general idea should be right though..

You can give 'missing' as a component device name along with /dev/sdc5
if mdadm gives a 'not enough devices' type error.

Okies I worked out to give the uuid its -u or --uuid= so I'm using -u and the magic number from the --examine output.

Here is what I tried.
# /sbin/mdadm --assemble --run -u b6035660:c11a8a2e:7026aea2:99d23bfc
    /dev/sdc5 missing
mdadm: cannot open device missing: No such file or directory
mdadm: missing has wrong uuid.
mdadm: no devices found for /dev/sdc5

I then tried specifying the /dev/md1

# /sbin/mdadm --assemble --run -u b6035660:c11a8a2e:7026aea2:99d23bfc /dev/md1
    /dev/sdc5 missing
mdadm: no recogniseable superblock on /dev/sdc5
mdadm: /dev/sdc5 has wrong uuid.
mdadm: cannot open device missing: No such file or directory
mdadm: missing has wrong uuid.
mdadm: no devices found for /dev/md1

In the above I added /dev/md1 for it to be assembled onto.

By the way I do have a /dev/md1 existing already. But no /dev/md0


(Also this new machine I'm trying to mount it on is a raid system using mdraid which I gather is different software for raid to mdadm. I think the older machine used mdadm and this new machine uses mdraid. It was setup by a previous sysadmin so I'm learning.)

Mike
--
Michael Lake
Computational Research Centre of Expertise
Science Faculty, UTS
Ph: 9514 2238




--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views of the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to