Skip to contentSkip to conversation

Logical Volume file system

linux-lvm Julien Baboud 4 participants 5 messages Jul 25, 2001

lore
Share & tools
lore
#0 lore raw

hi,

is there a way to know the type of the file system installed on a
Logical Volume ?
This information isn't displayed in the output of the 'lvdisplay'
command :(

tanx.

julien,
4 Atix.

#1 lore raw
Quoted 2 lines · Previously Julien Baboud

This information isn't displayed in the output of the 'lvdisplay'
command :(

The LV itself really doesn't care what you put on it, it does not even need to be a filesystem.

Wichert.

Signature · 4 lines
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| [email protected]                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#2 lore raw
Quoted 7 lines · Wichert Akkerman
Quoted 2 lines · Previously Julien Baboud

This information isn't displayed in the output of the 'lvdisplay'
command :(

The LV itself really doesn't care what you put on it, it does not even need to be a filesystem.

Does it mean that applications can use a LV as a "raw device" ?.

I've been searching through many places about Linux kernel 2.4.x support for raw devices, and found nothing specific.

Is raw devices support 2.5.x material, or is it possible with 2.4.x ?

--
Jos� Luis Domingo L�pez
Linux Registered User #189436 Debian GNU/Linux Potato (P166 64 MB RAM)

jdomingo EN internautas PUNTO org => � Spam ? Atente a las consecuencias
jdomingo AT internautas DOT org => Spam at your own risk

#3 lore raw
Quoted 1 line · Previously Jos� Luis Domingo L�pez

Does it mean that applications can use a LV as a "raw device" ?.

There is no such as a `raw device'. A LV can be seen as a normal blockdevice from userland, just like a normal harddisk or disk slice.

I think what you are referring to is `raw io', which is something you can do with any block device. Currently you still need a special rawio patch for Linux kernels, but it's a well tested and stable patch.

Wichert.

Signature · 4 lines
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| [email protected]                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#4 lore raw
Quoted 9 lines · Wichert Akkerman
Quoted 1 line · Previously Jos� Luis Domingo L�pez

Does it mean that applications can use a LV as a "raw device" ?.

There is no such as a `raw device'. A LV can be seen as a normal blockdevice from userland, just like a normal harddisk or disk slice.

I think what you are referring to is `raw io', which is something you can do with any block device. Currently you still need a special rawio patch for Linux kernels, but it's a well tested and stable patch.

Wichert is right,

you need a patch for 2.2.

rawio is included in 2.4.

Quoted 13 lines

Wichert.

Signature · 9 lines
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| [email protected]                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-