md/luks/md/xfs

Nagy Zoltan
2010-10-25T19:12:23Z

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