|
This is a blog of mcr at sandelman.ca |
Thu, 17 May 2007how to activate a volume group Using the magic of the "lt_hotswap" module, I can remove the cdrom in my T42's ultrabay. It gets removed from the IDE sub-system, and I can then insert my spare hard disk.
Laptop ultrabay hotswap driver version 0.3.1
lt_hotswap: '\_SB.PCI0.LPC.EC.BAT1' found (Hot-Swappable)
lt_hotswap: '\_SB.PCI0.IDE0.SCND.MSTR' found (Hot-Swappable)
lt_hotswap: '\_SB.PCI0.PCI1.DOCK.IDE1.PRIM.MSTR' found (Non-Swappable)
lt_hotswap: '\_SB.PCI0.LPC.FDC.FDD0' found (Hot-Swappable)
lt_hotswap: '\_SB.PCI0.PCI1.DOCK' found (Hot-Swappable)
lt_hotswap: Requesting IDE eject!
lt_hotswap: Attempting to eject
PM: Removing info for ide:1.0
PM: Removing info for No Bus:ide1
lt_hotswap: Attempting to eject
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide1...
hdc: TOSHIBA MK4018GAP, ATA DISK drive
PM: Adding info for No Bus:ide1
ide1 at 0x170-0x177,0x376 on irq 15
PM: Adding info for ide:1.0
hdc: max request size: 128KiB
hdc: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(33)
hdc: cache flushes supported
hdc: hdc2 < hdc5 hdc6 hdc7 hdc8 hdc9 hdc10 >
So, I ran my normal script that mounts partitions by LABEL= and it complained that my /dev/MaraUltraBay/* files weren't there. Oops. Where is the volume group? After some futzing, I learned that I did to run: marajade-[~] root 179 #vgchange -a y MaraUltraBay 11 logical volume(s) in volume group "MaraUltraBay" now active marajade-[~] root 181 #lvs LV VG Attr LSize Origin Snap% Move Log Copy% CACHE MaraMainDisk -wi-ao 3.00G DistrosKernel MaraMainDisk -wi-ao 4.00G ProjectOpenswan MaraMainDisk -wi-ao 3.00G ProjectXelerance MaraMainDisk -wi-ao 2.00G ProjectsHifn MaraMainDisk -wi-ao 2.00G UMLROOT MaraMainDisk -wi-ao 2.00G BackupEtc MaraUltraBay -wi-a- 500.00M ProjectCobbix MaraUltraBay -wi-a- 1000.00M ProjectCroquet MaraUltraBay -wi-a- 2.00G ProjectStudioX MaraUltraBay -wi-a- 4.00G ProjectThintropy MaraUltraBay -wi-a- 3.00G ProjectVpnx MaraUltraBay -wi-a- 2.00G ProjectsFreeradius MaraUltraBay -wi-a- 1.00G ProjectsHifn2 MaraUltraBay -wi-a- 6.00G ProjectsMisc MaraUltraBay -wi-a- 2.00G ProjectsOpenswan2 MaraUltraBay -wi-a- 4.00G UMLROOT2 MaraUltraBay -wi-a- 2.00G marajade-[~] root 183 #/root/etc/sswboot start Now, really, this needs to be driven by the hotplug system. I wish that it wasn't quite as many twisty shell scripts... all alike. posted at: 21:17 | path: /colo | permanent link to this entry Wed, 09 May 2007Three weeks ago I accepted a position as Director, Consumer Desktop Development at Thintropy Inc. Today, it was announced that XDS, Inc, of Durham, NC acquired Thintropy. See: http://www.prleap.com/pr/76656/ I can't tell you much about what we are doing, but it doesn't involve IPsec. It does involve Linux, and I'm excited about it. (No surprise here. It took the lawyers something like 12 weeks to finalize the deal...) I continue to work 1/2 time at VP R&D of Xelerance Corporation. Xelerance has a number of security related products in development, which will be announced in June. Xelerance continues to provide 3rd level support for IPsec, and I will continue to hack on Openswan on a regular basis. posted at: 18:48 | path: /work | permanent link to this entry Fri, 04 May 2007Cartoon U giving away drugs to students From:
So, the students who most need to be exposed to well designed systems are being fed junk. posted at: 00:58 | path: /oss | permanent link to this entry
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||