Mailing List Archive

Anyone used openmediavault with LVM?
Howdy,

As some know, I like LVM.  The Truenas box serves a purpose with zfs but
I am more familiar with LVM and using zfs is sort of confusing me
because they do similar things in similar ways but are different.  Each
time I want to do something, I have to figure it out again, sometimes
ask for help.  As long as I don't need to change anything, it works
great.  ;-) 

I found something called openmediavault, OMV.  It is here:

https://www.openmediavault.org/

On the features page, it lists LVM as a plugin.  From what I read, it
doesn't seem to have a default tool for managing hard drives, it seems
you have to pick one.  This leads to me to questions.  It is based on
Debian, never used it but have read it is fairly easy, been around a
long time and is usually very stable.  Seems to be a server type
distro.  So far, I kinda like the idea of this.  I'd have to redo my
backups again but hey, I been there before.  At least if I do switch,
I'll be using a tool that I'm pretty good at.  I think Alan M suggested
this ages ago.  Could have been Neil.  LVM is likely the best thing I
ever used except for Linux itself.  :-D 

Anyone use OMV before?  Does it work similar to Truenas but able to have
other tools installed?  Anyone use LVM on this thing?  If nothing else,
was it stable and dependable?  I have to say, Truenas has been rock
solid.  Never so much as a hiccup.  It just boots and runs until I shut
it down.  I suspect OMV would be the same but never hurts to ask. 

Thanks.

Dale

:-)  :-) 
Re: Anyone used openmediavault with LVM? [ In reply to ]
Dale wrote:
> Howdy,
>
> As some know, I like LVM.  The Truenas box serves a purpose with zfs but
> I am more familiar with LVM and using zfs is sort of confusing me
> because they do similar things in similar ways but are different.  Each
> time I want to do something, I have to figure it out again, sometimes
> ask for help.  As long as I don't need to change anything, it works
> great.  ;-) 
>
> I found something called openmediavault, OMV.  It is here:
>
> https://www.openmediavault.org/
>
> On the features page, it lists LVM as a plugin.  From what I read, it
> doesn't seem to have a default tool for managing hard drives, it seems
> you have to pick one.  This leads to me to questions.  It is based on
> Debian, never used it but have read it is fairly easy, been around a
> long time and is usually very stable.  Seems to be a server type
> distro.  So far, I kinda like the idea of this.  I'd have to redo my
> backups again but hey, I been there before.  At least if I do switch,
> I'll be using a tool that I'm pretty good at.  I think Alan M suggested
> this ages ago.  Could have been Neil.  LVM is likely the best thing I
> ever used except for Linux itself.  :-D 
>
> Anyone use OMV before?  Does it work similar to Truenas but able to have
> other tools installed?  Anyone use LVM on this thing?  If nothing else,
> was it stable and dependable?  I have to say, Truenas has been rock
> solid.  Never so much as a hiccup.  It just boots and runs until I shut
> it down.  I suspect OMV would be the same but never hurts to ask. 
>
> Thanks.
>
> Dale
>
> :-)  :-) 
> .
>


I figured out a way to install this to see what it looks like.  I found
out it doesn't support encryption.  No LUKS stuff or anything.  So, it
won't work.  Thinking about installing Gentoo or Ubuntu on that old
rig.  Most likely Ubuntu.  I guess Debian could work too. 

If anyone is looking for a NAS software package that supports
encryption, Truenas seems to be it at the moment.  Oh, it does support
LVM tho.  So, if one doesn't want encryption but wants LVM, this might
be a option.  It is GUI based like Truenas. 

Thanks to all. 

Dale

:-)  :-) 
Re: Anyone used openmediavault with LVM? [ In reply to ]
On Tuesday, 12 September 2023 08:07:59 BST Dale wrote:
> Dale wrote:
> > Howdy,
> >
> > As some know, I like LVM. The Truenas box serves a purpose with zfs but
> > I am more familiar with LVM and using zfs is sort of confusing me
> > because they do similar things in similar ways but are different. Each
> > time I want to do something, I have to figure it out again, sometimes
> > ask for help. As long as I don't need to change anything, it works
> > great. ;-)
> >
> > I found something called openmediavault, OMV. It is here:
> >
> > https://www.openmediavault.org/
> >
> > On the features page, it lists LVM as a plugin. From what I read, it
> > doesn't seem to have a default tool for managing hard drives, it seems
> > you have to pick one. This leads to me to questions. It is based on
> > Debian, never used it but have read it is fairly easy, been around a
> > long time and is usually very stable. Seems to be a server type
> > distro. So far, I kinda like the idea of this. I'd have to redo my
> > backups again but hey, I been there before. At least if I do switch,
> > I'll be using a tool that I'm pretty good at. I think Alan M suggested
> > this ages ago. Could have been Neil. LVM is likely the best thing I
> > ever used except for Linux itself. :-D
> >
> > Anyone use OMV before? Does it work similar to Truenas but able to have
> > other tools installed? Anyone use LVM on this thing? If nothing else,
> > was it stable and dependable? I have to say, Truenas has been rock
> > solid. Never so much as a hiccup. It just boots and runs until I shut
> > it down. I suspect OMV would be the same but never hurts to ask.
> >
> > Thanks.
> >
> > Dale
> >
> > :-) :-)
> >
> > .
>
> I figured out a way to install this to see what it looks like. I found
> out it doesn't support encryption. No LUKS stuff or anything. So, it
> won't work. Thinking about installing Gentoo or Ubuntu on that old
> rig. Most likely Ubuntu. I guess Debian could work too.
>
> If anyone is looking for a NAS software package that supports
> encryption, Truenas seems to be it at the moment. Oh, it does support
> LVM tho. So, if one doesn't want encryption but wants LVM, this might
> be a option. It is GUI based like Truenas.
>
> Thanks to all.
>
> Dale
>
> :-) :-)

I've used OpenMediaVault for a short period. In my experience it was very
stable. The GUI is quite intuitive. You can also configure directly its
settings using a CLI. I can't recall if it provides encryption, but it
shouldn't be that difficult to install any missing packages yourself and
configure the partition/directories?
Re: Anyone used openmediavault with LVM? [ In reply to ]
Michael wrote:
> On Tuesday, 12 September 2023 08:07:59 BST Dale wrote:
>> Dale wrote:
>>> Howdy,
>>>
>>> As some know, I like LVM. The Truenas box serves a purpose with zfs but
>>> I am more familiar with LVM and using zfs is sort of confusing me
>>> because they do similar things in similar ways but are different. Each
>>> time I want to do something, I have to figure it out again, sometimes
>>> ask for help. As long as I don't need to change anything, it works
>>> great. ;-)
>>>
>>> I found something called openmediavault, OMV. It is here:
>>>
>>> https://www.openmediavault.org/
>>>
>>> On the features page, it lists LVM as a plugin. From what I read, it
>>> doesn't seem to have a default tool for managing hard drives, it seems
>>> you have to pick one. This leads to me to questions. It is based on
>>> Debian, never used it but have read it is fairly easy, been around a
>>> long time and is usually very stable. Seems to be a server type
>>> distro. So far, I kinda like the idea of this. I'd have to redo my
>>> backups again but hey, I been there before. At least if I do switch,
>>> I'll be using a tool that I'm pretty good at. I think Alan M suggested
>>> this ages ago. Could have been Neil. LVM is likely the best thing I
>>> ever used except for Linux itself. :-D
>>>
>>> Anyone use OMV before? Does it work similar to Truenas but able to have
>>> other tools installed? Anyone use LVM on this thing? If nothing else,
>>> was it stable and dependable? I have to say, Truenas has been rock
>>> solid. Never so much as a hiccup. It just boots and runs until I shut
>>> it down. I suspect OMV would be the same but never hurts to ask.
>>>
>>> Thanks.
>>>
>>> Dale
>>>
>>> :-) :-)
>>>
>>> .
>> I figured out a way to install this to see what it looks like. I found
>> out it doesn't support encryption. No LUKS stuff or anything. So, it
>> won't work. Thinking about installing Gentoo or Ubuntu on that old
>> rig. Most likely Ubuntu. I guess Debian could work too.
>>
>> If anyone is looking for a NAS software package that supports
>> encryption, Truenas seems to be it at the moment. Oh, it does support
>> LVM tho. So, if one doesn't want encryption but wants LVM, this might
>> be a option. It is GUI based like Truenas.
>>
>> Thanks to all.
>>
>> Dale
>>
>> :-) :-)
> I've used OpenMediaVault for a short period. In my experience it was very
> stable. The GUI is quite intuitive. You can also configure directly its
> settings using a CLI. I can't recall if it provides encryption, but it
> shouldn't be that difficult to install any missing packages yourself and
> configure the partition/directories?


The install was fairly easy, except for getting the network to work.  It
seems it wants IPv6 and is a bit stubborn about it.  I have a good
hammer.  lol  I wasn't in there long.  When I saw it didn't have
encryption as a plugin, I moved on.  From what little I used it, I kinda
liked the layout.  In a way, better than Truenas really.  I may could
have installed encryption stuff but I figured it wouldn't work with the
GUI part then.  For the most part, I boot the NAS box, mount it, update
my backups, umount it and then shut it down.  No monitor, keyboard or
mouse.  Maybe one day it will have support for encryption. 

I currently have Ubuntu installed.  I would have been done with it
sooner but I had a typo in exports and it wouldn't allow me to mount the
thing.  Wrong IP for my main system.  At least it's secure.  ROFL  So
far, my biggest gripe is sudo this, sudo that.  Dang, give me root and
be done with it.  :/  I did try, no freaking password for the thing.  I
gotta google that tho.  There has to be a way. 

I was hopeful for a bit there. Maybe one day.

Dale

:-)  :-) 

P. S.  The guy behind OMV has a familiar name.  I can't place it tho. 
Re: Anyone used openmediavault with LVM? [ In reply to ]
On Tuesday, 12 September 2023 16:45:21 BST Dale wrote:

> I currently have Ubuntu installed. I would have been done with it
> sooner but I had a typo in exports and it wouldn't allow me to mount the
> thing. Wrong IP for my main system. At least it's secure. ROFL So
> far, my biggest gripe is sudo this, sudo that. Dang, give me root and
> be done with it. :/ I did try, no freaking password for the thing. I
> gotta google that tho. There has to be a way.

You could try 'sudo su -' . I don't know, but it's worth a try.

--
Regards,
Peter.
Re: Anyone used openmediavault with LVM? [ In reply to ]
On 9/12/23 11:55, Peter Humphrey wrote:
> On Tuesday, 12 September 2023 16:45:21 BST Dale wrote:
>
>> I currently have Ubuntu installed. I would have been done with it
>> sooner but I had a typo in exports and it wouldn't allow me to mount the
>> thing. Wrong IP for my main system. At least it's secure. ROFL So
>> far, my biggest gripe is sudo this, sudo that. Dang, give me root and
>> be done with it. :/ I did try, no freaking password for the thing. I
>> gotta google that tho. There has to be a way.
> You could try 'sudo su -' . I don't know, but it's worth a try.

I've generally used "sudo bash" for such stuff.
Re: Anyone used openmediavault with LVM? [ In reply to ]
On Tue, Sep 12, 2023 at 8:55?AM Peter Humphrey <peter@prh.myzen.co.uk>
wrote:
>
> On Tuesday, 12 September 2023 16:45:21 BST Dale wrote:
>
> > I currently have Ubuntu installed. I would have been done with it
> > sooner but I had a typo in exports and it wouldn't allow me to mount the
> > thing. Wrong IP for my main system. At least it's secure. ROFL So
> > far, my biggest gripe is sudo this, sudo that. Dang, give me root and
> > be done with it. :/ I did try, no freaking password for the thing. I
> > gotta google that tho. There has to be a way.
>
> You could try 'sudo su -' . I don't know, but it's worth a try.
>
> --
> Regards,
> Peter.

If root has a password set then su - is sufficient for Kubuntu.

I expect in Dale's case sudo su - gets him to root and then
he can set the password and be done with sudo.

- Mark
Re: Anyone used openmediavault with LVM? [ In reply to ]
On 2023-09-12, Dale <rdalek1967@gmail.com> wrote:

> I currently have Ubuntu installed. [...] So far, my biggest gripe is
> sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
> I did try, no freaking password for the thing.  I gotta google that
> tho.  There has to be a way.

$ sudo bash -

It's been a while since I tried it, but you used to be able to set a
password for root. IIRC, it was as simple as

$ sudo passwd root
Re: Re: Anyone used openmediavault with LVM? [ In reply to ]
On Tue, 12 Sep 2023 16:19:45 -0000 (UTC), Grant Edwards wrote:

> > I currently have Ubuntu installed. [...] So far, my biggest gripe is
> > sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
> > I did try, no freaking password for the thing.  I gotta google that
> > tho.  There has to be a way.
>
> $ sudo bash -

Or sudo -i


--
Neil Bothwick

furbling, v.:
Having to wander through a maze of ropes at an airport or bank
even when you are the only person in line.
-- Rich Hall, "Sniglets"
Re: Anyone used openmediavault with LVM? [ In reply to ]
On 9/12/2023 11:57 AM, Jack wrote:
> On 9/12/23 11:55, Peter Humphrey wrote:
>> On Tuesday, 12 September 2023 16:45:21 BST Dale wrote:
>>
>>> I currently have Ubuntu installed. I would have been done with it
>>> sooner but I had a typo in exports and it wouldn't allow me to mount the
>>> thing. Wrong IP for my main system. At least it's secure. ROFL So
>>> far, my biggest gripe is sudo this, sudo that. Dang, give me root and
>>> be done with it. :/ I did try, no freaking password for the thing. I
>>> gotta google that tho. There has to be a way.
>> You could try 'sudo su -' . I don't know, but it's worth a try.
>
> I've generally used "sudo bash" for such stuff.
>
Or sudo -i
>
Re: Re: Anyone used openmediavault with LVM? [ In reply to ]
Grant Edwards wrote:
> On 2023-09-12, Dale <rdalek1967@gmail.com> wrote:
>
>> I currently have Ubuntu installed. [...] So far, my biggest gripe is
>> sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
>> I did try, no freaking password for the thing.  I gotta google that
>> tho.  There has to be a way.
> $ sudo bash -
>
> It's been a while since I tried it, but you used to be able to set a
> password for root. IIRC, it was as simple as
>
> $ sudo passwd root
>
>

This last one seemed the simplest and easiest.  I might add, it also
worked.  Now I don't have to sudo every time I want to take a breath or
something.  Most any of them would have helped but now I can just login
as root.  I have to be a user at first over ssh tho, if I recall
correctly.  That's OK tho.  It will still save me a lot of typing and I
don't have to guess what needs it and what doesn't. 

I got me a little nap so I'm banging at it again.  Going to see what
still works after a reboot.  If some services didn't start, got to
figure that out too.  Hopefully they will.  I can ssh in so far.  lol 
Dig around and see what is the same as rc-status.  Surely they have
something.  Off to duckduckgo I go. 

Oh, I found the forums.  Yikes.  O_O  If I get this all set up.  I'll
move the drives over and redo my backups, again.

Thanks to all. 

Yay!!

Dale

:-)  :-) 
Re: Anyone used openmediavault with LVM? [ In reply to ]
On 2023-09-12, Todd Goodman <tsg@bonedaddy.net> wrote:
>
>> I've generally used "sudo bash" for such stuff.
>
> Or sudo -i

Doh! How did I not know that? I've been doing "sudo bash -" for
years. All those wasted bits...
Re: Anyone used openmediavault with LVM? [ In reply to ]
On 12/09/2023 08:07, Dale wrote:
> I figured out a way to install this to see what it looks like.  I found
> out it doesn't support encryption.  No LUKS stuff or anything.  So, it
> won't work.  Thinking about installing Gentoo or Ubuntu on that old
> rig.  Most likely Ubuntu.  I guess Debian could work too.

Ubuntu IS Debian, for the most part. Change the Ubuntu repositories to
point at the Debian ones rather than the Ubuntu ones, dist-upgrade or
whatever it is, and you've just changed the base system.

Debian is a community based distro, Ubuntu is just Mark Shuttleworth
providing support services on top (plus an admittedly large chunk of
value-add, if you think it's value ...)

It goes Sid -> testing -> stable -> Ubuntu -> (X/K/L...)ubuntu

Cheers,
Wol
Re: Re: Anyone used openmediavault with LVM? [ In reply to ]
Dale wrote:
> Grant Edwards wrote:
>> On 2023-09-12, Dale <rdalek1967@gmail.com> wrote:
>>
>>> I currently have Ubuntu installed. [...] So far, my biggest gripe is
>>> sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
>>> I did try, no freaking password for the thing.  I gotta google that
>>> tho.  There has to be a way.
>> $ sudo bash -
>>
>> It's been a while since I tried it, but you used to be able to set a
>> password for root. IIRC, it was as simple as
>>
>> $ sudo passwd root
>>
>>
> This last one seemed the simplest and easiest.  I might add, it also
> worked.  Now I don't have to sudo every time I want to take a breath or
> something.  Most any of them would have helped but now I can just login
> as root.  I have to be a user at first over ssh tho, if I recall
> correctly.  That's OK tho.  It will still save me a lot of typing and I
> don't have to guess what needs it and what doesn't. 
>
> I got me a little nap so I'm banging at it again.  Going to see what
> still works after a reboot.  If some services didn't start, got to
> figure that out too.  Hopefully they will.  I can ssh in so far.  lol 
> Dig around and see what is the same as rc-status.  Surely they have
> something.  Off to duckduckgo I go. 
>
> Oh, I found the forums.  Yikes.  O_O  If I get this all set up.  I'll
> move the drives over and redo my backups, again.
>
> Thanks to all. 
>
> Yay!!
>
> Dale
>
> :-)  :-) 
>


I may have found a added bonus on this.  Some may recall long ago when I
switched to Truenas that the transfer speed was pretty slow, like
30MBs/sec or something, sometimes slower.  Some of you tried to help
figure out why but it seemed everything was working as it should.  At
this time, I'm copying from a encrypted file system but its on a fast
machine.  I'm copying to a file system that is not encrypted but a less
powerful machine.  This is over the same 1GB ethernet.  The /mnt part is
the slower machine, future NAS box.


dale@fireball / $ rsync -av --progress
/home/dale/Desktop/Documents/Rescue_images/Manjaro/manjaro-kde-21.0.4-210506-linux510.iso
/mnt/tmpdisk/dale/
sending incremental file list
manjaro-kde-21.0.4-210506-linux510.iso
  2,880,800,768 100%  140.61MB/s    0:00:19 (xfr#1, to-chk=0/1)

sent 2,881,504,223 bytes  received 35 bytes  97,678,110.44 bytes/sec
total size is 2,880,800,768  speedup is 1.00
dale@fireball / $


I picked a fair sized file so it would take a bit longer and give better
average results.  If it can still do this when I have the file system
encrypted on the slower machine, this will be much better.  About 3
times faster give or take.  I have no idea why the difference tho.  I'm
kinda surprised at the difference really.  Then again, I was surprised
at the slow speed of the Truenas box too. 

While Ubuntu is different, it isn't bad.  The systemd thing is
different.  I had to duckduckgo, DDG, a few things but eventually I got
there.  Of course, some helped me here as well.  Still, I had to DDG a
lot.  By the way, Google kept popping up a captcha thing every time I
went there so I switched.  I contacted google to try to help them sort
out a fix for months with little to no change.  In my last message, I
informed them I had switched.  For Linux searches, it seems to do better
than google at times.

My next test, boot up and be able to manage the NAS box with no keyboard
or mouse attached.  I don't see any reason that shouldn't work. 

One other thing, I'd like to have it not access the internet at all
times.  I'd like to turn on the connection to the internet, do updates,
install new stuff etc and then turn it off.  Is there a easy way to do
this?  It is hooked to a router so may need to be done there.  Keep in
mind, I transfer/rsync/copy files over the same connection to the
router.  All my rigs are connected to a router and data transfers from
one to the other through the router.  The router sends internet traffic
to the internet.  That's why I figure it may need to be done in the
router. 

Thanks to all for the help.  Plan to redo backups once I done some more
testing. 

Dale

:-)  :-) 
Re: Re: Anyone used openmediavault with LVM? [ In reply to ]
On Tue, 12 Sep 2023 14:43:30 -0500, Dale wrote:

> This last one seemed the simplest and easiest.  I might add, it also
> worked.  Now I don't have to sudo every time I want to take a breath or
> something.  Most any of them would have helped but now I can just login
> as root.  I have to be a user at first over ssh tho, if I recall
> correctly. 

Not if you set "PermitRootLogin prohibit-password" in sshd_config.


--
Neil Bothwick

WinErr 009: Horrible bug encountered - God knows what has happened
Re: Re: Anyone used openmediavault with LVM? [ In reply to ]
Neil Bothwick wrote:
> On Tue, 12 Sep 2023 14:43:30 -0500, Dale wrote:
>
>> This last one seemed the simplest and easiest.  I might add, it also
>> worked.  Now I don't have to sudo every time I want to take a breath or
>> something.  Most any of them would have helped but now I can just login
>> as root.  I have to be a user at first over ssh tho, if I recall
>> correctly. 
> Not if you set "PermitRootLogin prohibit-password" in sshd_config.
>
>


Well, until I can make the internet disconnect while still sharing
files, I better leave it as is.  May change later tho.  I do need a
better root password tho.  May as well be a pet's name right now.  ROFL 

One thing I'm digging for at the moment.  A way to make it beep once it
has completely booted.  DDG has found ways to make it beep but trying to
figure out how to do that at the end of the boot process.  Not sure how
to trigger that yet.  I suspect when I find one, it will work on most if
not all distros.  May be a neat trick.

Getting real close to redoing my backups.  Kinda liking this thing.  If
that transfer speed holds up, I'm gonna be in love.  o_O 

Oh, one other thing in case someone reading my ramblings doesn't know. 
When setting up encryption, if one ever wants to change the password,
make sure to include the luks bit.  I learned the other day that without
the luks bit, you can't change the password, not that DDG and me could
find anyway.  With luks bit you just add a new one then delete the old
one.  Or keep both if one feels naughty.  I'm sure luks bit does more
than that but it seems to make changing passwords/phrases possible.  I
didn't know the difference.  Now to remember that.  :/

Dale

:-)  :-) 
Re: Anyone used openmediavault with LVM? [ In reply to ]
Wol wrote:
> On 12/09/2023 08:07, Dale wrote:
>> I figured out a way to install this to see what it looks like.  I found
>> out it doesn't support encryption.  No LUKS stuff or anything.  So, it
>> won't work.  Thinking about installing Gentoo or Ubuntu on that old
>> rig.  Most likely Ubuntu.  I guess Debian could work too.
>
> Ubuntu IS Debian, for the most part. Change the Ubuntu repositories to
> point at the Debian ones rather than the Ubuntu ones, dist-upgrade or
> whatever it is, and you've just changed the base system.
>
> Debian is a community based distro, Ubuntu is just Mark Shuttleworth
> providing support services on top (plus an admittedly large chunk of
> value-add, if you think it's value ...)
>
> It goes Sid -> testing -> stable -> Ubuntu -> (X/K/L...)ubuntu
>
> Cheers,
> Wol
>
>


This is good to know.  If something ever happens and Ubuntu dies or no
longer supports what I use, I know switching is easy enough.  I thought
both had the same package commands but I never seen Debian before.  Just
read about it a few times, mostly on here. 

Thanks for that info. 

Dale

:-)  :-)