All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nagy Zoltan <kirk@bteam.hu>
To: xfs@oss.sgi.com
Subject: md/luks/md/xfs
Date: Mon, 25 Oct 2010 21:13:22 +0200	[thread overview]
Message-ID: <4CC5D6D2.3080606@bteam.hu> (raw)

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

hi

running the given makefile with 'test', a set of md and luks devices are created,
when i try to mount md200 the system freezes.

the system is running 2.6.35.7 (vanilla).

someone could confirm the test result with some other system ?
 -- be very careful, check that you don't have: /dev/md{10,14,18,112,200} and /dev/mapper/T-{10,14,18,112,200}
 -- you don't use any of /dev/ram{0..15}

when i use ext3 or vfat instead of xfs it works fine

best regards,
-- 
Nagy Zoltan (kirk) <kirk@bteam.hu>

[-- Attachment #2: rdt.makefile --]
[-- Type: text/plain, Size: 645 bytes --]


.SECONDARY:

SHELL=/bin/bash

any:
	echo	"*** be careful!"

/dev/md1%:
	mdadm -Cv /dev/md1$* -l5 -n4 /dev/ram{$(shell echo $$[ $* + 0 ])..$(shell echo $$[ $* + 3 ])}
	# $(shell echo \$[ $* + 3 ]) }
	#mdadm -Cv /dev/md21 -l5 -n4 /dev/ram{4..7}
	#mdadm -Cv /dev/md22 -l5 -n4 /dev/ram{8..11}
	#mdadm -Cv /dev/md23 -l5 -n4 /dev/ram{12..15}

#cat /proc/mdstat

/dev/mapper/T-%:	/dev/md%
	cryptsetup luksFormat -v -q -d /etc/services /dev/md$*
	cryptsetup luksOpen -v -d /etc/services /dev/md$* T-$*

/dev/md200:	/dev/mapper/T-18 /dev/mapper/T-10 /dev/mapper/T-14 /dev/mapper/T-112
	
	mdadm -Cv $@ -l5 -n4 $^
	mkfs.xfs $@
	#echo	$^

test:	/dev/md200

[-- Attachment #3: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

                 reply	other threads:[~2010-10-25 19:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC5D6D2.3080606@bteam.hu \
    --to=kirk@bteam.hu \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.