Skip to contentSkip to conversation

CDRECORD not working when LVM loaded.

linux-lvm Rupert Heesom 3 participants 3 messages Apr 17, 2001

lore
Share & tools
lore
#0 lore raw

I'm running a RH7 system on which I have the Logical Volume Management of kernel 2.4.3 installed,but not configured (LVM not doing anything yet).

I had some trouble using cdrecord, and saw the man page for cdrecord, particularly the following part where it says that cdrecord cannot be used in conjunction with volume management.

I don't really know what is meant in the paragraph about USCSI fallback SCSI transport code.

On Solaris you need to stop the volume management if you like to use the USCSI fallback SCSI transport code. Even things like cdrecord -scanbus will not work if the volume management is running.

I unloaded the "lvm-mod" kernel module, and cdrecord works fine without it.

Basically I'm merely trying to find out whether I can get my system working with both LVM and cdrecord concurrently.

I assume in order to use LVM, I would need to keep the lvm kernel module
loaded. Since I had to unload this module in order to use cdrecord, I
assume that I can only use cdrecord OR LVM on any one system. Am I
correct here?

Is there any workaround for my situation? Perhaps not using the USCSI fallback code when using cdrecord?

Signature · 2 lines
regs
rupert
#1 lore raw

FYI

I have a machine at work (my desktop) which I use use LVM 0.9.1beta? on and cdrecord with no problems all on SCSI. This is with 2.2 kernel.

Doesn't really help you fix your problem, but just so you know that it is working elsewhere.

Quoted 48 lines · Rupert Heesom

Date: 16 Apr 2001 23:34:20 -0400
From: Rupert Heesom <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: [linux-lvm] CDRECORD not working when LVM loaded.

I'm running a RH7 system on which I have the Logical Volume Management of kernel 2.4.3 installed,but not configured (LVM not doing anything yet).

I had some trouble using cdrecord, and saw the man page for cdrecord, particularly the following part where it says that cdrecord cannot be used in conjunction with volume management.

I don't really know what is meant in the paragraph about USCSI fallback SCSI transport code.

On Solaris you need to stop the volume management if you like to use the USCSI fallback SCSI transport code. Even things like cdrecord -scanbus will not work if the volume management is running.

I unloaded the "lvm-mod" kernel module, and cdrecord works fine without it.

Basically I'm merely trying to find out whether I can get my system working with both LVM and cdrecord concurrently.

I assume in order to use LVM, I would need to keep the lvm kernel module
loaded. Since I had to unload this module in order to use cdrecord, I
assume that I can only use cdrecord OR LVM on any one system. Am I
correct here?

Is there any workaround for my situation? Perhaps not using the USCSI fallback code when using cdrecord?

--
regs
rupert

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm

#2 lore raw
In reply to Rupert Heesom
Quoted 3 lines · Rupert

I had some trouble using cdrecord, and saw the man page for cdrecord, particularly the following part where it says that cdrecord cannot be used in conjunction with volume management.

When cdrecord is talking about "volume management" they mean automatic CD-ROM volume detection. Solaris has a daemon called "vold" which sees that a new CD-ROM is inserted and mounts it automatically. This breaks cdrecord, because the CD-ROM is then busy before it has a chance to open it.

Quoted 2 lines

I unloaded the "lvm-mod" kernel module, and cdrecord works fine without it.

Sorry, probably unrelated to LVM.

Quoted 2 lines

Basically I'm merely trying to find out whether I can get my system working with both LVM and cdrecord concurrently.

I have LVM and Grip running on my laptop at the same time without problems. Grip is a GTK CD ripper, which uses cdparanoia for the back end.

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert