[ale] RAID 5 - Attachments to previous mail

Gregory C. Johnsom mailreply at GregJohnson.Com
Sat Apr 9 14:18:23 EDT 2005


Naturally, these got left off my previous question...

-Greg
-------------- next part --------------
#dmesg
===================================================================
\3
ACPI: PCI interrupt 0000:00:01.1[A] -> GSI 23 (level, low) -> IRQ 23
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 22
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 22 (level, high) -> IRQ 22
ACPI: PCI Interrupt Link [APCG] enabled at IRQ 21
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 21 (level, high) -> IRQ 21
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:02.2[C] -> GSI 20 (level, high) -> IRQ 20
ACPI: PCI Interrupt Link [APCH] enabled at IRQ 22
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 22 (level, high) -> IRQ 22
ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 21
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 21 (level, high) -> IRQ 21
ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 20 (level, high) -> IRQ 20
ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 19 (level, low) -> IRQ 19
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI interrupt 0000:02:08.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
ACPI: PCI interrupt 0000:02:0d.0[A] -> GSI 17 (level, low) -> IRQ 17
ACPI: PCI interrupt 0000:02:0e.0[A] -> GSI 18 (level, low) -> IRQ 18
audit: initializing netlink socket (disabled)
audit(1112850622.4294966670:0): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
vesafb: framebuffer at 0xf4000000, mapped to 0xf8880000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=9
vesafb: protected mode interface info at c000:77a0
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 100000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE3-250: IDE controller at PCI slot 0000:00:08.0
NFORCE3-250: chipset revision 162
NFORCE3-250: not 100% native mode: will probe irqs later
NFORCE3-250: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3-250: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3-250: 0000:00:08.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: Maxtor 94098H6, ATA DISK drive
hdb: Maxtor 6Y120P0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: WDC WD800BB-00CAA0, ATA DISK drive
hdd: Maxtor 6Y060L0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
PDC20268: IDE controller at PCI slot 0000:02:07.0
ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 19 (level, low) -> IRQ 19
PDC20268: chipset revision 2
PDC20268: 100% native mode on irq 19
    ide2: BM-DMA at 0x8000-0x8007, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0x8008-0x800f, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: WDC WD400BB-75CAA0, ATA DISK drive
hdf: WDC WD1200JB-00GVA0, ATA DISK drive
ide2 at 0x7000-0x7007,0x7402 on irq 19
Probing IDE interface ide3...
hdg: Maxtor 92048D8, ATA DISK drive
hdh: WDC WD1200JB-22GVA0, ATA DISK drive
ide3 at 0x7800-0x7807,0x7c02 on irq 19
PDC20268: IDE controller at PCI slot 0000:02:08.0
ACPI: PCI interrupt 0000:02:08.0[A] -> GSI 16 (level, low) -> IRQ 16
PDC20268: chipset revision 2
PDC20268: 100% native mode on irq 16
    ide4: BM-DMA at 0x9400-0x9407, BIOS settings: hdi:pio, hdj:pio
    ide5: BM-DMA at 0x9408-0x940f, BIOS settings: hdk:pio, hdl:pio
Probing IDE interface ide4...
hdi: WDC WD400BB-75CAA0, ATA DISK drive
hdj: Maxtor 6Y120P0, ATA DISK drive
ide4 at 0x8400-0x8407,0x8802 on irq 16
Probing IDE interface ide5...
hdk: WDC WD400BB-75CAA0, ATA DISK drive
hdl: Maxtor 6Y120P0, ATA DISK drive
ide5 at 0x8c00-0x8c07,0x9002 on irq 16
hda: max request size: 128KiB
hda: 80043264 sectors (40982 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 hda6 hda7 > hda3 hda4
hdb: max request size: 128KiB
hdb: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63
hdb: cache flushes supported
 hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 >
hdc: max request size: 128KiB
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63
hdc: cache flushes not supported
 hdc: hdc1 hdc2
hdd: max request size: 128KiB
hdd: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63
hdd: cache flushes supported
 hdd: hdd1
hde: max request size: 128KiB
hde: Host Protected Area detected.
	current capacity is 78125000 sectors (40000 MB)
	native  capacity is 78125040 sectors (40000 MB)
hde: 78125000 sectors (40000 MB) w/2048KiB Cache, CHS=65535/16/63
hde: cache flushes not supported
 hde: hde1
hdf: max request size: 1024KiB
hdf: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
hdf: cache flushes supported
 hdf: hdf1 hdf2 hdf3 hdf4 < hdf5 >
hdg: max request size: 128KiB
hdg: 40000464 sectors (20480 MB) w/512KiB Cache, CHS=39683/16/63
hdg: cache flushes not supported
 hdg: hdg1 hdg2 < hdg5 hdg6 hdg7 >
hdh: max request size: 1024KiB
hdh: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
hdh: cache flushes supported
 hdh: hdh1 hdh2 hdh3 hdh4 < hdh5 >
hdi: max request size: 128KiB
hdi: Host Protected Area detected.
	current capacity is 78125000 sectors (40000 MB)
	native  capacity is 78125040 sectors (40000 MB)
hdi: 78125000 sectors (40000 MB) w/2048KiB Cache, CHS=65535/16/63
hdi: cache flushes not supported
 hdi: hdi1 hdi3 hdi4
hdj: max request size: 128KiB
hdj: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63
hdj: cache flushes supported
 hdj: unknown partition table
hdk: max request size: 128KiB
hdk: Host Protected Area detected.
	current capacity is 78125000 sectors (40000 MB)
	native  capacity is 78125040 sectors (40000 MB)
hdk: 78125000 sectors (40000 MB) w/2048KiB Cache, CHS=65535/16/63
hdk: cache flushes not supported
 hdk: hdk1 hdk2 hdk3 hdk4 < hdk5 hdk6 >
hdl: max request size: 128KiB
hdl: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63
hdl: cache flushes supported
 hdl: hdl1 hdl2 hdl3 hdl4 < hdl5 hdl6 >
libata version 1.02 loaded.
sata_sil version 0.54
ACPI: PCI interrupt 0000:02:0d.0[A] -> GSI 17 (level, low) -> IRQ 17
ata1: SATA max UDMA/100 cmd 0xF8802080 ctl 0xF880208A bmdma 0xF8802000 irq 17
ata2: SATA max UDMA/100 cmd 0xF88020C0 ctl 0xF88020CA bmdma 0xF8802008 irq 17
ata1: no device found (phy stat 00000000)
scsi0 : sata_sil
ata2: no device found (phy stat 00000000)
scsi1 : sata_sil
sata_nv version 0.03
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 20 (level, high) -> IRQ 20
PCI: Setting latency timer of device 0000:00:0a.0 to 64
ata3: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xDC00 irq 20
ata4: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xDC08 irq 20
ata3: no device found (phy stat 00000000)
scsi2 : sata_nv
ata4: no device found (phy stat 00000000)
scsi3 : sata_nv
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
EISA: Probing bus 0 at eisa0
Cannot allocate resource for EISA slot 1
Cannot allocate resource for EISA slot 2
Cannot allocate resource for EISA slot 7
Cannot allocate resource for EISA slot 8
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 524288 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 15
ACPI: (supports S0 S1 S4 S5)
ACPI wakeup devices: 
HUB0 HUB1 USB0 USB1 USB2 F139 MMAC MMCI UAR1 
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
NET: Registered protocol family 17
8139too Fast Ethernet driver 0.9.27
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw at saw.sw.com.sg> and others
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.29.
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 22 (level, high) -> IRQ 22
PCI: Setting latency timer of device 0000:00:05.0 to 64
eth0: forcedeth.c: subsystem: 01458:e000 bound to 0000:00:05.0
sis900.c: v1.08.07 11/02/2003
Linux Tulip driver version 1.1.13 (May 11, 2002)
eth0: no link during initialization.
eth0: link up.
nfs warning: mount version older than kernel
cloop: Initializing cloop v2.01
cloop: loaded (max 8 devices)
cloop: /cdrom/KNOPPIX/KNOPPIX: 30428 blocks, 65536 bytes/block, largest block is 65552 bytes.
ISO 9660 Extensions: RRIP_1991A
Freeing unused kernel memory: 276k freed
Real Time Clock Driver v1.12
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 22 (level, high) -> IRQ 22
ohci_hcd 0000:00:02.0: PCI device 10de:00e7 (nVidia Corporation)
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 22, pci mem f8c68000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 21 (level, high) -> IRQ 21
ohci_hcd 0000:00:02.1: PCI device 10de:00e7 (nVidia Corporation)
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 21, pci mem f8c6a000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1223 $ Ben Collins <bcollins at debian.org>
ACPI: PCI interrupt 0000:02:0e.0[A] -> GSI 18 (level, low) -> IRQ 18
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18]  MMIO=[f7010000-f70107ff]  Max Packet=[4096]
Serial: 8250/16550 driver $Revision: 1.90 $ 14 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[000fea560075e2e9]
eth1394: $Rev: 1224 $ Ben Collins <bcollins at debian.org>
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth1394: eth1: Could not allocate isochronous receive context for the broadcast channel
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: Maximum main memory to use for agp memory: 1919M
agpgart: AGP aperture is 128M @ 0xe8000000
ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
eth2: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
      PrefPort:A  RlmtMode:Check Link State
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 21 (level, high) -> IRQ 21
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 49487 usecs
intel8x0: clocking to 46882
Adding 143600k swap on /dev/hda5.  Priority:-1 extents:1
Adding 499928k swap on /dev/hdb1.  Priority:-2 extents:1
Adding 497972k swap on /dev/hdf1.  Priority:-3 extents:1
Adding 136512k swap on /dev/hdg5.  Priority:-4 extents:1
Adding 497972k swap on /dev/hdh1.  Priority:-5 extents:1
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized mga 3.1.0 20021029 on minor 0: Matrox Graphics, Inc. MGA G400 AGP
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
mtrr: 0xf4000000,0x2000000 overlaps existing 0xf4000000,0x200000
mtrr: 0xf4000000,0x1000000 overlaps existing 0xf4000000,0x200000
mtrr: 0xf4000000,0x1000000 overlaps existing 0xf4000000,0x200000
mtrr: 0xf4000000,0x1000000 overlaps existing 0xf4000000,0x200000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: disabled on user request.
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: disabled on user request.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: md2 stopped.
md: bind<hdl2>
md: bind<hdh2>
md: bind<hdf2>
md: bind<hdb2>
md: raid1 personality registered as nr 3
raid1: raid set md2 active with 4 out of 4 mirrors
md: md1 stopped.
md: bind<hdd1>
md: bind<hdc1>
md: raid0 personality registered as nr 2
md1: setting max_sectors to 128, segment boundary to 32767
raid0: looking at hdc1
raid0:   comparing hdc1(59570176) with hdc1(59570176)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at hdd1
raid0:   comparing hdd1(60051456) with hdc1(59570176)
raid0:   NOT EQUAL
raid0:   comparing hdd1(60051456) with hdd1(60051456)
raid0:   END
raid0:   ==> UNIQUE
raid0: 2 zones
raid0: FINAL 2 zones
raid0: zone 1
raid0: checking hdc1 ... nope.
raid0: checking hdd1 ... contained as device 0
  (60051456) is smallest!.
raid0: zone->nb_dev: 1, size: 481280
raid0: current zone offset: 60051456
raid0: done.
raid0 : md_size is 119621632 blocks.
raid0 : conf->hash_spacing is 119140352 blocks.
raid0 : nb_zone is 2.
raid0 : Allocating 8 bytes for hash.
md: md0 stopped.
md: bind<hdl5>
md: bind<hdh5>
md: bind<hdf5>
md: bind<md1>
md: bind<hdb5>
md: md0: raid array is not clean -- starting background reconstruction
raid5: automatically using best checksumming function: pIII_sse
   pIII_sse  :  5408.000 MB/sec
raid5: using function: pIII_sse (5408.000 MB/sec)
md: raid5 personality registered as nr 4
raid5: device hdb5 operational as raid disk 0
raid5: device md1 operational as raid disk 4
raid5: device hdf5 operational as raid disk 3
raid5: device hdh5 operational as raid disk 2
raid5: device hdl5 operational as raid disk 1
raid5: cannot start dirty degraded array for md0
RAID5 conf printout:
 --- rd:6 wd:5 fd:1
 disk 0, o:1, dev:hdb5
 disk 1, o:1, dev:hdl5
 disk 2, o:1, dev:hdh5
 disk 3, o:1, dev:hdf5
 disk 4, o:1, dev:md1
raid5: failed to run raid set md0
md: pers->run() failed ...
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0358dc0(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
SMB connection re-established (-5)
 hdj: unknown partition table
 hdj: unknown partition table
 hdj: unknown partition table
SMB connection re-established (-5)
 hdj:
 hdj:
 hdj: hdj1 hdj2 hdj3 hdj4 < hdj5 hdj6 >
md: bind<hdj5>
SMB connection re-established (-5)
===================================================================
cat /proc/mdstat
===================================================================

Personalities : [raid0] [raid1] [raid5] 
md0 : inactive hdj5[5] hdb5[0] md1[4] hdf5[3] hdh5[2] hdl5[1]
      698239744 blocks
md1 : active raid0 hdc1[0] hdd1[1]
      119621632 blocks 64k chunks
      
md2 : active raid1 hdb2[0] hdf2[3] hdh2[2] hdl2[1]
      497920 blocks [4/4] [UUUU]
      
unused devices: <none>
===================================================================
mdadm -D /dev/md0
===================================================================

/dev/md0:
        Version : 00.90.01
  Creation Time : Thu Feb 24 22:29:15 2005
     Raid Level : raid5
    Device Size : 115723328 (110.36 GiB 118.50 GB)
   Raid Devices : 6
  Total Devices : 6
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sat Apr  2 15:27:44 2005
          State : dirty, degraded
 Active Devices : 5
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 8424841d:15ac2dd4:fee16658:656e3c2b
         Events : 0.60200

    Number   Major   Minor   RaidDevice State
       0       3       69        0      active sync   /dev/hdb5
       1      57       69        1      active sync   /dev/hdl5
       2      34       69        2      active sync   /dev/hdh5
       3      33       69        3      active sync   /dev/hdf5
       4       9        1        4      active sync
       5      56       69        5      spare rebuilding   /dev/hdj5
===================================================================
cat /proc/sys/dev/raid/speed_limit_m*
===================================================================


200000
175000

-------------- next part --------------
#!/bin/bash -x
if [ ! -e /ramdisk/sbin/lvmiopversion ] ; then 
read -p "Copy lvm2.  Press return to continue"
tar xvf lvm2.tar --directory /ramdisk/
#cp -r lvm2/* /ramdisk/
fi
export PATH="/ramdisk/lib/lvm-200:/ramdisk/sbin:$PATH"

read -p "make devices. Press return to continue"
. ./mkhddev

read -p "Assemble MDs. Press return to continue"
pushd /dev       

if 0 ; then
mdadm --verbose --assemble /dev/md2 --config=./mdadm.conf
mdadm --verbose --assemble /dev/md1 --config=./mdadm.conf
mdadm --verbose --assemble /dev/md0 --config=./mdadm.conf
else
if 0 ; then
mdadm --verbose --assemble /dev/md2 /dev/hdb1 /dev/hdc1 /dev/hdi1 /dev/hdk1
mdadm --verbose --assemble /dev/md1 /dev/hdj1 /dev/hdl1
mdadm --verbose --assemble /dev/md0 /dev/hdb5 /dev/hdc5 /dev/hdi5 /dev/hdk5 /dev/md1
else
# NEED LAST DRIVE!!!  a,b,C,D,e,F,g,H,i,j,k,L
mdadm --verbose --assemble /dev/md2 /dev/hdb2 /dev/hdl2 /dev/hdh2 /dev/hdf2
read -p "Assemble md1. Press return to continue"
mdadm --verbose --assemble /dev/md1 /dev/hdc1 /dev/hdd1
read -p "Assemble md0. Press return to continue"
mdadm --verbose --assemble /dev/md0 /dev/hdb5 /dev/hdl5 /dev/hdh5 /dev/hdf5 /dev/md1
fi
fi

read -p "Start LVM2.   Press return to continue"
rm -f /dev/mapper
mkdir /dev/mapper
mknod /dev/mapper/control c 10 63
modprobe dm-mod

read -p "Activate r5a. Press return to continue"
vgscan

vgchange -a y /dev/r5a

read -p "Mount FSs.  Press return to continue"
smb=$PWD/$0.smb.template
pushd r5a
for i in $(ls) ; do
#foomkreiserfs $i
#fooreiserfsck $i
mkdir -p /mnt/z/$i
mount $i /mnt/z/$i
sed s/%volume%/$i/g < $smb >> /etc/samba/smb.conf
done
popd

/etc/init.d/samba reload
popd



More information about the Ale mailing list