Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

best filesystem for logical volume ?

61 views
Skip to first unread message

J. B

unread,
Aug 17, 2012, 7:30:01 AM8/17/12
to

Hello list,

any recommendation about the best file system for logical volume ?

TIA


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120817165...@shiva.selfip.org

shawn wilson

unread,
Aug 17, 2012, 8:00:02 AM8/17/12
to
On Fri, Aug 17, 2012 at 7:23 AM, J. B <baks...@gmail.com> wrote:
>

> any recommendation about the best file system for logical volume ?
>

i use zfs for everything except / (includes /boot as grub doesn't support it).


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAH_OBifHuZvKjgLqES1-MhN_USAtB1LACTRM50C+Usv=5C_...@mail.gmail.com

J. B

unread,
Aug 17, 2012, 8:00:02 AM8/17/12
to
On Fri, 17 Aug 2012 07:49:40 -0400
shawn wilson <ag4v...@gmail.com> wrote:

> On Fri, Aug 17, 2012 at 7:23 AM, J. B <baks...@gmail.com> wrote:
> >
>
> > any recommendation about the best file system for logical volume ?
> >
>
> i use zfs for everything except / (includes /boot as grub doesn't support it).

Is it better than ext4 and reiserfs ?


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120817172...@shiva.selfip.org

Jochen Spieker

unread,
Aug 17, 2012, 8:40:02 AM8/17/12
to
J. B:
>
> any recommendation about the best file system for logical volume ?

There is no useful answer to that question. The quality of a filesystem
does not depend on whether it is used on an LV or on a partition.

J.
--
After the millenium I would tell lies only to those who deserved them.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
signature.asc

Jon Dowland

unread,
Aug 17, 2012, 9:10:02 AM8/17/12
to
On Fri, Aug 17, 2012 at 05:28:10PM +0530, J. B wrote:
> Is it better than ext4 and reiserfs ?

No.

(a more detailed answer may be provided with a more detailed description
of your requirements :))


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120817130818.GD17970@debian

shawn wilson

unread,
Aug 17, 2012, 9:40:02 AM8/17/12
to


On Aug 17, 2012 9:08 AM, "Jon Dowland" <jm...@debian.org> wrote:
>
> On Fri, Aug 17, 2012 at 05:28:10PM +0530, J. B wrote:
> > Is it better than ext4 and reiserfs ?
>
> No.
>
> (a more detailed answer may be provided with a more detailed description
> of your requirements :))
>

I agree with what others have said. Ie, what is your purpose for wanting volume manager? (Zft doesn't use lvm btw, it bakes it in)

Pedro Eugênio Rocha

unread,
Aug 17, 2012, 11:40:02 AM8/17/12
to
We have been using LVM with ext4 for a variety of workloads (webservers,
fileservers and mailservers) for quite some time, without performance problems.
As others have said, the performance depends most on the workload you will
use than in the "best filesystem".


Best,
--
Pedro Eugênio Rocha


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAM3FfDw-CEU5EsNVE14CoZPi...@mail.gmail.com

Camaleón

unread,
Aug 17, 2012, 11:50:01 AM8/17/12
to
On Fri, 17 Aug 2012 16:53:40 +0530, J. B wrote:

> any recommendation about the best file system for logical volume ?

A logical volume for what, exactly?

I'm very happy with ReiserFS, I use it for the "/" partition in my
servers, workstations and desktops since I'm a linux user and never gave
me a problem.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/k0loop$o53$1...@ger.gmane.org

J. B

unread,
Aug 17, 2012, 12:30:02 PM8/17/12
to
Yes, I need a file-system for LVM and that's why searching the best combination.
So gar I found at net that ext4 is good for lvm.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120817215...@shiva.selfip.org

J. B

unread,
Aug 17, 2012, 12:30:02 PM8/17/12
to
On Fri, 17 Aug 2012 15:42:17 +0000 (UTC)
Camaleón <noel...@gmail.com> wrote:

> On Fri, 17 Aug 2012 16:53:40 +0530, J. B wrote:
>
> > any recommendation about the best file system for logical volume ?
>
> A logical volume for what, exactly?
>

Full disk encryption


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120817215...@shiva.selfip.org

Camaleón

unread,
Aug 17, 2012, 12:40:02 PM8/17/12
to
On Fri, 17 Aug 2012 21:56:22 +0530, J. B wrote:

> On Fri, 17 Aug 2012 15:42:17 +0000 (UTC) Camaleón <noel...@gmail.com>
> wrote:
>
>> On Fri, 17 Aug 2012 16:53:40 +0530, J. B wrote:
>>
>> > any recommendation about the best file system for logical volume ?
>>
>> A logical volume for what, exactly?
>>
>>
> Full disk encryption

Fine but better if yu can expand that, because it says little about the
system main usage.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/k0lrka$o53$1...@ger.gmane.org

J. B

unread,
Aug 17, 2012, 1:00:03 PM8/17/12
to
On Fri, 17 Aug 2012 16:31:06 +0000 (UTC)
Camaleón <noel...@gmail.com> wrote:

> On Fri, 17 Aug 2012 21:56:22 +0530, J. B wrote:
>
> > On Fri, 17 Aug 2012 15:42:17 +0000 (UTC) Camaleón <noel...@gmail.com>
> > wrote:
> >
> >> On Fri, 17 Aug 2012 16:53:40 +0530, J. B wrote:
> >>
> >> > any recommendation about the best file system for logical volume ?
> >>
> >> A logical volume for what, exactly?
> >>
> >>
> > Full disk encryption
>
> Fine but better if yu can expand that, because it says little about the
> system main usage.
>

Sure....

My laptop have i5 CPU with 3GB RAM. I bought a new disk and want to create LVM on it, except /boot
And finally transfer all data to that DISK. So I am in search of a filesystem which can give me better
performance. The system will have apache+mysql+postfix as well as the desktop system KDE.

Thanks


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120817221...@shiva.selfip.org

Camaleón

unread,
Aug 17, 2012, 1:30:02 PM8/17/12
to
On Fri, 17 Aug 2012 22:19:53 +0530, J. B wrote:

> On Fri, 17 Aug 2012 16:31:06 +0000 (UTC) Camaleón <noel...@gmail.com>
> wrote:

>> >> > any recommendation about the best file system for logical volume ?
>> >>
>> >> A logical volume for what, exactly?
>> >>
>> >>
>> > Full disk encryption
>>
>> Fine but better if yu can expand that, because it says little about the
>> system main usage.
>>
>>
> Sure....
>
> My laptop have i5 CPU with 3GB RAM. I bought a new disk and want to
> create LVM on it, except /boot And finally transfer all data to that
> DISK. So I am in search of a filesystem which can give me better
> performance. The system will have apache+mysql+postfix as well as the
> desktop system KDE.

So basically you are planning to use the system for a common desktop
usage. Considering your hardware the filesystem would be almost
irrelevant so I'd go for either ext3/4 which has more tools for
recovering after a disaster and is well tested/supported.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/k0lugr$o53$2...@ger.gmane.org

J. B

unread,
Aug 17, 2012, 1:50:01 PM8/17/12
to
On Fri, 17 Aug 2012 17:20:27 +0000 (UTC)
Camaleón <noel...@gmail.com> wrote:

> On Fri, 17 Aug 2012 22:19:53 +0530, J. B wrote:
>
> > On Fri, 17 Aug 2012 16:31:06 +0000 (UTC) Camaleón <noel...@gmail.com>
> > wrote:
>
> >> >> > any recommendation about the best file system for logical volume ?
> >> >>
> >> >> A logical volume for what, exactly?
> >> >>
> >> >>
> >> > Full disk encryption
> >>
> >> Fine but better if yu can expand that, because it says little about the
> >> system main usage.
> >>
> >>
> > Sure....
> >
> > My laptop have i5 CPU with 3GB RAM. I bought a new disk and want to
> > create LVM on it, except /boot And finally transfer all data to that
> > DISK. So I am in search of a filesystem which can give me better
> > performance. The system will have apache+mysql+postfix as well as the
> > desktop system KDE.
>
> So basically you are planning to use the system for a common desktop
> usage. Considering your hardware the filesystem would be almost
> irrelevant so I'd go for either ext3/4 which has more tools for
> recovering after a disaster and is well tested/supported.
>
> Greetings,
>

Thanks for your response. I'm already formatted with ext4 :-)
Though I'm little confused now. As per the tutorial /boot should be
un-encrypted. But I got some doc at net where /boot is also encrypted.
Can you please help me to solve the puzzle ?
I'm following http://kirriwa.net/john/doc/lvm+raid1.html#step3
TIA


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120817231...@shiva.selfip.org

shawn wilson

unread,
Aug 17, 2012, 1:50:02 PM8/17/12
to


On Aug 17, 2012 12:50 PM, "J. B" <baks...@gmail.com> wrote:
>
> On Fri, 17 Aug 2012 16:31:06 +0000 (UTC)
> Camaleón <noel...@gmail.com> wrote:
>
> > On Fri, 17 Aug 2012 21:56:22 +0530, J. B wrote:
> >
> > > On Fri, 17 Aug 2012 15:42:17 +0000 (UTC) Camaleón <noel...@gmail.com>
> > > wrote:
> > >
> > >> On Fri, 17 Aug 2012 16:53:40 +0530, J. B wrote:
> > >>
> > >> > any recommendation about the best file system for logical volume ?
> > >>
> > >> A logical volume for what, exactly?
> > >>
> > >>
> > > Full disk encryption
> >
> > Fine but better if yu can expand that, because it says little about the
> > system main usage.
> >
>
> Sure....
>
> My laptop have i5 CPU with 3GB RAM.  I bought a new disk and want to create LVM on it, except /boot
> And finally transfer all data to that DISK. So I am in search of a filesystem which can give me better
> performance. The system will have apache+mysql+postfix as well as the desktop system KDE.
>

First, the bottleneck is going to be your hardware - laptop disks suck (they don't spin as fast). Otoh, if this is SSD, you've got other issues to consider. Ie, if the key is compromised, good luck wiping the data.

Second, what you're describing is a dev box (or more likely a playground). Now, while it would've been cool if someone had built a formula one track on my playground I think more toys in the sandbox would've given a better bang foe the buck. What I'm saying is, who cares? I hear lvm has overhead anyway, but maybe that's another matter. Maybe you should just go read about all of the file systems and use the one that gives you the moat warm and fuzzies. There's the long standing defacto ext, there's the wife killer's reiser (also on sles iirc), there's the badly licensed zfs, the old (but very good - made for six ~20 years ago) xfs.

shawn wilson

unread,
Aug 17, 2012, 2:50:01 PM8/17/12
to
On Fri, Aug 17, 2012 at 1:42 PM, J. B <baks...@gmail.com> wrote:

> Though I'm little confused now. As per the tutorial /boot should be
> un-encrypted. But I got some doc at net where /boot is also encrypted.
> Can you please help me to solve the puzzle ?
> I'm following http://kirriwa.net/john/doc/lvm+raid1.html#step3

you can encrypt /boot as long as grub is aware of the schema iirc.
but, this begs the question - why? do you store your web cache in
/boot, or a db of your cc numbers, or your porn pics, or your kid's
birthday picture? or do you care that someone might recover that you
stored your kernel image on the second partition of the first disk?

i personally don't see the need for full disk encryption. i mean, if
you live in the US, a court order will keep you in jail or force you
to give up the password vs if you have smaller encrypted files that no
one finds (obfuscated in databases of pictures of a small encrypted
file or some such scheme) that someone might now find. or, if you surf
the net in a vm (as you should anyway) and encrypt the vm image, your
browser data is safe if someone steals your computer. fwiw


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAH_OBieNTipwVEwwOiGLYwZQit-UcO=6m-Yb0u6N...@mail.gmail.com

Camaleón

unread,
Aug 18, 2012, 2:00:01 PM8/18/12
to
On Fri, 17 Aug 2012 23:12:01 +0530, J. B wrote:

> On Fri, 17 Aug 2012 17:20:27 +0000 (UTC) Camaleón <noel...@gmail.com>
> wrote:

(...)

>> > My laptop have i5 CPU with 3GB RAM. I bought a new disk and want to
>> > create LVM on it, except /boot And finally transfer all data to that
>> > DISK. So I am in search of a filesystem which can give me better
>> > performance. The system will have apache+mysql+postfix as well as the
>> > desktop system KDE.
>>
>> So basically you are planning to use the system for a common desktop
>> usage. Considering your hardware the filesystem would be almost
>> irrelevant so I'd go for either ext3/4 which has more tools for
>> recovering after a disaster and is well tested/supported.
>>
>>
> Thanks for your response. I'm already formatted with ext4 :-) Though I'm
> little confused now. As per the tutorial /boot should be un-encrypted.
> But I got some doc at net where /boot is also encrypted. Can you please
> help me to solve the puzzle ? I'm following
> http://kirriwa.net/john/doc/lvm+raid1.html#step3 TIA

Well, from the article it seems to indicate "(sic) you can't have boot on
an LVM volume" with the mentioned setup, maybe that's the reason why the
author leaves /boot out.

Anyway, I don't think that's a good guide to follow given there's no
encryption in place (something you want) and there's a RAID1 layout (that
you can't use). Maybe these other guides will help you better with your
task:

Setting up an encrypted Debian system
http://madduck.net/docs/cryptdisk/

Setting up an Encrypted Debian System
http://linuxgazette.net/140/kapil.html

How To Migrate to a full encrypted LVM system
http://www.debian-administration.org/articles/577

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/k0oku3$ct$5...@ger.gmane.org

Bob Proulx

unread,
Aug 21, 2012, 3:40:01 PM8/21/12
to
shawn wilson wrote:
> J. B wrote:
> > Though I'm little confused now. As per the tutorial /boot should be
> > un-encrypted. But I got some doc at net where /boot is also encrypted.
> > Can you please help me to solve the puzzle ?
> > I'm following http://kirriwa.net/john/doc/lvm+raid1.html#step3
>
> you can encrypt /boot as long as grub is aware of the schema iirc.
> but, this begs the question - why? do you store your web cache in
> /boot, or a db of your cc numbers, or your porn pics, or your kid's
> birthday picture? or do you care that someone might recover that you
> stored your kernel image on the second partition of the first disk?

Right. I don't encrypt /boot. But I do encrypt the rest. Usually by
an encrypted lvm volume from which I allocate swap and root partitions.

> i personally don't see the need for full disk encryption. i mean, if
> you live in the US, a court order will keep you in jail or force you
> to give up the password

While the US legal system may do this full disk encryption is still
useful against the more common criminals who have stolen your laptop.
If my laptop is lost or stolen then I have some protection by having
full disk encryption. I can take my time changing my bank passwords
at that point.

> vs if you have smaller encrypted files that no one finds (obfuscated
> in databases of pictures of a small encrypted file or some such
> scheme) that someone might now find. or, if you surf the net in a vm
> (as you should anyway) and encrypt the vm image, your browser data
> is safe if someone steals your computer. fwiw

It is difficult to be so completely mentally disciplined that you
always know exactly what files contain sensitive data such as logins
and passwords that need to be protected and which are mundane. It is
easier to treat all the same, all encrypted, and avoid the on the fly
decision making. It is too easy to make mistakes otherwise.

Since the Debian installer makes setting up full disk encryption so
easy I always do that for mobile devices.

Bob
signature.asc
0 new messages