public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* md/luks/md/xfs
@ 2010-10-25 19:13 Nagy Zoltan
  0 siblings, 0 replies; only message in thread
From: Nagy Zoltan @ 2010-10-25 19:13 UTC (permalink / raw)
  To: xfs

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-25 19:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 19:13 md/luks/md/xfs Nagy Zoltan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox