Re: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
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

:-)  :-) 



Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
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: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Neil Bothwick
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


pgpZ9izO2DPym.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: long compiles

2023-09-12 Thread Neil Bothwick
On Tue, 12 Sep 2023 21:01:48 +0200, Alan McKinnon wrote:

> But anyways, this is not really about how to deal with long compiles, I
> was asking what current packages take a long time after a 5 year
> absence.
> 
> The answer is what it was always - browsers and libreoffice. I do recall
> icu being a bit of a beast back then

LibreOffice doesn't seem too bad these days. icu and boost are a pain
because of the number of other packages they rebuild.


-- 
Neil Bothwick

Light travels faster than sound. This is why some people appear bright
until you hear them speak.


pgpoFHtA2NgXP.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
Dale wrote:
> Grant Edwards wrote:
>> On 2023-09-12, Dale  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: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Wol

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: [gentoo-user] long compiles

2023-09-12 Thread Wol

On 11/09/2023 20:46, Alan McKinnon wrote:
qtwebengine! yes that one took forever also. It also said my 16G of RAM 
was smaller than the 16G it needed. Weird.


Anyways I enabled a swapfile and left it to run overnight


16GB physical ram <> 16GB usable ram for the compile ...

I concur with others that tmpfs is the way to go - I don't think my 
system is set up that way just now, but I always have googols of swap 
(twice max physical ram per disk) so I just declare a huge ramdisk for 
compiling on.


My current system has four ram slots, two maxed out with 16GB chips 
each, so that makes 128GB swap partitions per disk (4 of them) equals 
512GB swap ...


(Yes the people at openSUSE said I was being stupid with that much swap)

But declare a 128GB ramdisk, and it'll spill over as required, but 
anything that fits in ram will compile very quick.


And yes, I also used to have my systems configured so they had one 
shared portage area, matching make.conf, and were set up to "use binary 
if it exists, else build one". I had the opposite problem though, my 
nice fast system had a habit of crashing, so I used the old slow one to 
build most things, because it was more reliable. Hey ho.


There's all sorts of tricks, some work for some people, others work for 
others.


Cheers,
Wol



[gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Grant Edwards
On 2023-09-12, Todd Goodman  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: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
Grant Edwards wrote:
> On 2023-09-12, Dale  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

:-)  :-) 



[gentoo-user] Re: long compiles

2023-09-12 Thread Nuno Silva
On 2023-09-12, Alan McKinnon wrote:
[...]
> But anyways, this is not really about how to deal with long compiles, I was
> asking what current packages take a long time after a 5 year absence.
>
> The answer is what it was always - browsers and libreoffice. I do recall
> icu being a bit of a beast back then

I remember insn-attrtab.c making the GCC compilation swap a lot :-)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29442

-- 
Nuno Silva




Re: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Todd Goodman


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: [gentoo-user] Re: long compiles

2023-09-12 Thread Alan McKinnon
On Tue, Sep 12, 2023 at 11:19 AM Nikos Chantziaras  wrote:

> On 11/09/2023 22:19, Alan McKinnon wrote:
> > chromium has been building since 10:14, it's now 21:16 and still going
> > so 9 hours at least on this machine to build a browser - almost as bad
> > as openoffice at it's worst (regularly took 12 hours). Nodejs also took
> > a while, but I didn't record time.
>
> What's your CPU and how much RAM? Even on my older system I had (an
> 4-core i5 2500K) libreoffice took like 2 hours or so to build.
>
>
> > What other packages have huge build times?
>
> IIRC, dev-qt/qtwebengine is one of the heaviest when it comes to build
> times.
>
> Anyway, a nice way to cut down on build times is to build on tmpfs. To
> do that however with heavy packages like that, I had to upgrade to 32GB
> RAM. There was a large price drop in the memory market a couple months
> ago, so I snatched a 32GB DDR4 3600 kit (2x16GB) for like 80€. So now
> with plenty of RAM, I configured a 14GB tmpfs in /var/tmp/portage. I
> never hit swap when emerging.
>

That's not an option for me, this is a corporate laptop with 16G RAM and a
case I may not open :-)
I'm not interested in a remote build host or distcc either

But anyways, this is not really about how to deal with long compiles, I was
asking what current packages take a long time after a 5 year absence.

The answer is what it was always - browsers and libreoffice. I do recall
icu being a bit of a beast back then


Alan




-- 
Alan McKinnon
alan dot mckinnon at gmail dot com


Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Neil Bothwick
On Tue, 12 Sep 2023 16:19:45 - (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"


pgpMSajJXQZPl.pgp
Description: OpenPGP digital signature


回复:[gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread ‪jack9603301
What problems did you encounter? I mean, this is the Gentoo user community, and even so, I'm still happy to serve you properly-please note that the specific service should be based on your actual situation, if you need my remote service, I will charge for it!Your description is not clear, and it is difficult for me to judge what problems you have encountered? If you need my further service, please feel free to contact me.发自我的荣耀手机 原始邮件 发件人: Jack 日期: 2023年9月13日周三 00:00收件人: gentoo-user@lists.gentoo.org主题: Re: [gentoo-user] Anyone used openmediavault with LVM?

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.

  


[gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Grant Edwards
On 2023-09-12, Dale  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: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Mark Knecht
On Tue, Sep 12, 2023 at 8:55 AM 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.
>
> --
> 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: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Jack

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: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Peter Humphrey
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: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
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: [gentoo-user] long compiles

2023-09-12 Thread Jacques Montier
Le mar. 12 sept. 2023, 12:14, Peter Humphrey  a
écrit :

> On Monday, 11 September 2023 22:22:28 BST Michael wrote:
>
> > There's also the option of using bin alternatives where available, e.g.
> > google-chrome, firefox-bin, libreoffice-bin.
>
> ...and rust-bin, which is now the default in at least some desktop
> profiles.
>
> --
> Regards,
> Peter.
>
>
>
>
> Hello,


I could get rid of webkit-gtk with pleasure and i use rust-bin.
I tried libreoffice-bin but encountered some issues with pdf import, so i
went back to libreoffice.

Cheers,

Jacques



>
>


Re: [gentoo-user] long compiles

2023-09-12 Thread Peter Humphrey
On Monday, 11 September 2023 22:22:28 BST Michael wrote:

> There's also the option of using bin alternatives where available, e.g.
> google-chrome, firefox-bin, libreoffice-bin.

...and rust-bin, which is now the default in at least some desktop profiles.

-- 
Regards,
Peter.






[gentoo-user] Re: long compiles

2023-09-12 Thread Nikos Chantziaras

On 11/09/2023 23:21, Alan McKinnon wrote:
Yup, that jibes with what I see. Oh well, just means that the need for 
overnight compiles did not go away haha


Ever since I added the following to my make.conf:

PORTAGE_NICENESS=19
PORTAGE_IONICE_COMMAND="sh -c \"schedtool -D \${PID} && ionice -c 3 -p 
\${PID}\""


I never needed overnight compiles again. Make sure sys-process/schedtool 
is installed. As long as you have plenty of RAM so the system doesn't 
swap, you can use the system normally even while building monster 
packages. I can even play video games without issue while portage is 
emerging now.





[gentoo-user] Re: long compiles

2023-09-12 Thread Nikos Chantziaras

On 11/09/2023 22:19, Alan McKinnon wrote:
chromium has been building since 10:14, it's now 21:16 and still going 
so 9 hours at least on this machine to build a browser - almost as bad 
as openoffice at it's worst (regularly took 12 hours). Nodejs also took 
a while, but I didn't record time.


What's your CPU and how much RAM? Even on my older system I had (an 
4-core i5 2500K) libreoffice took like 2 hours or so to build.




What other packages have huge build times?


IIRC, dev-qt/qtwebengine is one of the heaviest when it comes to build 
times.


Anyway, a nice way to cut down on build times is to build on tmpfs. To 
do that however with heavy packages like that, I had to upgrade to 32GB 
RAM. There was a large price drop in the memory market a couple months 
ago, so I snatched a 32GB DDR4 3600 kit (2x16GB) for like 80€. So now 
with plenty of RAM, I configured a 14GB tmpfs in /var/tmp/portage. I 
never hit swap when emerging.





Re: [gentoo-user] long compiles

2023-09-12 Thread Alan McKinnon
On Tue, Sep 12, 2023 at 1:05 AM Ramon Fischer 
wrote:

> You may also want to take a look at "distcc", with which you can set up
> compiler farms; this can be even combined with "ccache":
>
>  https://wiki.gentoo.org/wiki/Distcc#With_ccache
>
> -Ramon
>


Hi Ramon,

distcc is way more than I need. I'm not complaining about long compile
times and wanting a solution, I was more curious about which packages these
days take long compared to when I was last here 5/6 years ago

Alan




>
> On 11/09/2023 23:46, Alan McKinnon wrote:
> >
> >
> > On Mon, Sep 11, 2023 at 11:23 PM Michael 
> wrote:
> >
> > On Monday, 11 September 2023 21:21:47 BST Alan McKinnon wrote:
> > > On Mon, Sep 11, 2023 at 10:05 PM Neil Bothwick
> >  wrote:
> > > > On Mon, 11 Sep 2023 21:19:27 +0200, Alan McKinnon wrote:
> > > > > chromium has been building since 10:14, it's now 21:16 and
> > still going
> > > > > so 9 hours at least on this machine to build a browser -
> > almost as bad
> > > > > as openoffice at it's worst (regularly took 12 hours).
> > Nodejs also took
> > > > > a while, but I didn't record time.
> > > >
> > > > Chromium is definitely the worst, and strangely variable. The
> > last few
> > > > compiles have taken between 6 and 14 hours. Since it takes
> > longer than
> > > > everything else to build, it is usually compiling on its own,
> > so parallel
> > > > emerges aren't a factor.
> > > >
> > > > Qtwebengine is also bad, not surprising as it is a cut down
> > Chromium.
> > > > Emerging world with --exclude then timing build to coincide
> > with sleep
> > > > helps, although I haven't quite reached the age where I need
> > 14 hours of
> > > > sleep a day.
> > > >
> > > >
> > > > --
> > > > Neil Bothwick
> > > >
> > > > If it isn't broken, I can fix it.
> > >
> > > Yup, that jibes with what I see. Oh well, just means that the
> > need for
> > > overnight compiles did not go away haha
> > >
> > > Thanks to every one else that replied too - everyone said much
> > the same
> > > thing so I figured one replay to rule them all was the best way
> > >
> > >
> > > Alan
> >
> > As the old saying goes, "there ain't no substitute to cubic
> > inches".  Moar
> > cores and moar RAM is almost always the solution, but with laptops
> > and older
> > PCs in general overnight builds soon become inevitable.
> > Selectively reducing
> > jobs and adding swap, or for packages like rust placing
> > /var/tmp/portage on
> > the disk becomes necessary.
> >
> > A solution I use for older/smaller laptops is to build binaries on
> > a more
> > powerful PC and emerge these in turn on the weaker PCs.
> >
> > There's also the option of using bin alternatives where available,
> > e.g.
> > google-chrome, firefox-bin, libreoffice-bin.
> >
> > Finally, there is a small scale project to provide systemd based
> > binaries as
> > an alternative to building your own:
> >
> > https://wiki.gentoo.org/wiki/Experimental_binary_package_host
> >
> >
> > As it turns out this laptop is the most powerful machine I have
> > available, my large collection of previous work laptops are getting
> > older and older.
> >
> > Although, I *could* create a ginormous build host on one of the
> > virtualization clusters at work hahaha :-)
> >
> > That link looks interesting, I'll check it out, thanks!
> >
> >
> > --
> > Alan McKinnon
> > alan dot mckinnon at gmail dot com
>
> --
> GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF
>
>

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com


Re: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Michael
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?

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
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

:-)  :-)