Re: [OmniOS-discuss] Fwd: Install on Supermicro DOM=low space left

2017-01-26 Thread Peter Tribble
On Thu, Jan 26, 2017 at 2:12 PM, Olaf Marzocchi  wrote:

> But dumps can also be saved as files on a normal dataset, right? provided
> enough space is left for them.
>

No. The dump is a two-stage process.

When the system panics, it simply drops memory into the dump volume.
(Traditionally, it used to use the swap partition.)

Then, when the system is back up, you save that dump into regular files
for subsequent analysis.

If you're really tight for space, and aren't worried about debugging a
panic, then
disabling dumps entirely (dupadm -d none) might be appropriate in this case.

(As an aside, I note that current OmniOS LTS - r151014 - doesn't understand
dumpadm -e, which is a shame.)


> Olaf
>
>
>
> Il 26 gennaio 2017 12:38:27 CET, v...@bb-c.de ha scritto:
>>
>>  NAME USED  AVAIL  REFER  MOUNTPOINT
>>>  rpool/dump  41.5G  9.15G  41.5G  -
>>>  rpool/swap  4.13G  13.0G   276M  -
>>>
>>
>> The "dump" volume is much too big.  Do a
>>
>>   dumpadm -e
>>
>> This will print the "estimated" dump size.  Then add a bit, and
>> set the new dump volume size with:
>>
>>   zfs set volsize= rpool/dump
>>
>> For example, on my OmniOS file server:
>>
>> # dumpadm -e
>> Estimated dump size: 4.63G
>>
>> # zfs set volsize=6G rpool/dump
>>
>> # zfs list rpool/dump
>> NAME USED  AVAIL  REFER  MOUNTPOINT
>> rpool/dump  6.00G  24.1G  6.00G  -
>>
>>  I did not changed anything during instalation proccess, I've just
>>>  accepted all defaults
>>>
>>
>> Yes.  The "traditional" installation usually sizes dump too big.
>> That is why I asked. :-)
>>
>>
>> Hope this helps -- Volker
>>
>>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>


-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Fwd: Install on Supermicro DOM=low space left

2017-01-26 Thread Olaf Marzocchi
But dumps can also be saved as files on a normal dataset, right? provided 
enough space is left for them.

Olaf



Il 26 gennaio 2017 12:38:27 CET, v...@bb-c.de ha scritto:
>> NAME USED  AVAIL  REFER  MOUNTPOINT
>> rpool/dump  41.5G  9.15G  41.5G  -
>> rpool/swap  4.13G  13.0G   276M  -
>
>The "dump" volume is much too big.  Do a
>
>  dumpadm -e
>
>This will print the "estimated" dump size.  Then add a bit, and
>set the new dump volume size with:
>
>  zfs set volsize= rpool/dump
>
>For example, on my OmniOS file server:
>
># dumpadm -e
>Estimated dump size: 4.63G
>
># zfs set volsize=6G rpool/dump
>
># zfs list rpool/dump
>NAME USED  AVAIL  REFER  MOUNTPOINT
>rpool/dump  6.00G  24.1G  6.00G  -
>
>> I did not changed anything during instalation proccess, I've just
>> accepted all defaults
>
>Yes.  The "traditional" installation usually sizes dump too big.
>That is why I asked. :-)
>
>
>Hope this helps -- Volker
>-- 
>
>Volker A. Brandt   Consulting and Support for Oracle
>Solaris
>Brandt & Brandt Computer GmbH   WWW:
>http://www.bb-c.de/
>Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail:
>v...@bb-c.de
>Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße:
>46
>Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt
>
>"When logic and proportion have fallen sloppy dead"
>___
>OmniOS-discuss mailing list
>OmniOS-discuss@lists.omniti.com
>http://lists.omniti.com/mailman/listinfo/omnios-discuss
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Fwd: Install on Supermicro DOM=low space left

2017-01-26 Thread Davide Poletto
I recall an interesting post by Chris Siebenmann about dump/swap sizes
(surprise) on OmniOS, here it is (the only one comment at time was mine :-)
):
https://utcc.utoronto.ca/~cks/space/blog/solaris/OmniOSDiskSizing?showcomments#comments

Cheers, Davide

On Thu, Jan 26, 2017 at 12:22 PM, Fábio Rabelo 
wrote:

> sorry, I forgot to change address to all list before send ...
>
> -- Forwarded message --
> From: Fábio Rabelo 
> Date: 2017-01-26 9:21 GMT-02:00
> Subject: Re: [OmniOS-discuss] Install on Supermicro DOM=low space left
> To: "Volker A. Brandt" 
>
>
> 2017-01-26 9:06 GMT-02:00 Volker A. Brandt :
> > Hi Fábio!
> >
> >
> >> I've just installed OmniOS on a Supermicro Motherboard with a DOM
> >> device for boot .
> >>
> >> It is working fine, no issues ...
> >>
> >> But, the 64GB DOM has just 9GB of space left
> >>
> >> Can I delete something ( temp files, compacted installed packages, etc
> >> ) to free some space ?
> >
> > You might have oversized swap and/or dump volumes.  Do a
> >
> >   zfs list -t volume
> >
> > What volume sizes are shown
>
> NAME USED  AVAIL  REFER  MOUNTPOINT
> rpool/dump  41.5G  9.15G  41.5G  -
> rpool/swap  4.13G  13.0G   276M  -
>
> I did not changed anything during instalation proccess, I've just
> accepted all defaults
>
>
> Fábio Rabelo
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Fwd: Install on Supermicro DOM=low space left

2017-01-26 Thread Stephan Budach

Hi Fábio,

Am 26.01.17 um 12:22 schrieb Fábio Rabelo:

sorry, I forgot to change address to all list before send ...

-- Forwarded message --
From: Fábio Rabelo 
Date: 2017-01-26 9:21 GMT-02:00
Subject: Re: [OmniOS-discuss] Install on Supermicro DOM=low space left
To: "Volker A. Brandt" 


2017-01-26 9:06 GMT-02:00 Volker A. Brandt :

Hi Fábio!



I've just installed OmniOS on a Supermicro Motherboard with a DOM
device for boot .

It is working fine, no issues ...

But, the 64GB DOM has just 9GB of space left

Can I delete something ( temp files, compacted installed packages, etc
) to free some space ?

You might have oversized swap and/or dump volumes.  Do a

   zfs list -t volume

What volume sizes are shown

NAME USED  AVAIL  REFER  MOUNTPOINT
rpool/dump  41.5G  9.15G  41.5G  -
rpool/swap  4.13G  13.0G   276M  -

I did not changed anything during instalation proccess, I've just
accepted all defaults



If you still want to change the size of the dump volume:

zfs set volsize=16g rpool/dump

The size depends of course on the estimated size of a core dump, but 16G 
should ne way over the top.


Cheers,
Stephan


smime.p7s
Description: S/MIME cryptographic signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Fwd: Install on Supermicro DOM=low space left

2017-01-26 Thread Volker A. Brandt
> NAME USED  AVAIL  REFER  MOUNTPOINT
> rpool/dump  41.5G  9.15G  41.5G  -
> rpool/swap  4.13G  13.0G   276M  -

The "dump" volume is much too big.  Do a

  dumpadm -e

This will print the "estimated" dump size.  Then add a bit, and
set the new dump volume size with:

  zfs set volsize= rpool/dump

For example, on my OmniOS file server:

# dumpadm -e
Estimated dump size: 4.63G

# zfs set volsize=6G rpool/dump

# zfs list rpool/dump
NAME USED  AVAIL  REFER  MOUNTPOINT
rpool/dump  6.00G  24.1G  6.00G  -

> I did not changed anything during instalation proccess, I've just
> accepted all defaults

Yes.  The "traditional" installation usually sizes dump too big.
That is why I asked. :-)


Hope this helps -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] Fwd: Install on Supermicro DOM=low space left

2017-01-26 Thread Fábio Rabelo
sorry, I forgot to change address to all list before send ...

-- Forwarded message --
From: Fábio Rabelo 
Date: 2017-01-26 9:21 GMT-02:00
Subject: Re: [OmniOS-discuss] Install on Supermicro DOM=low space left
To: "Volker A. Brandt" 


2017-01-26 9:06 GMT-02:00 Volker A. Brandt :
> Hi Fábio!
>
>
>> I've just installed OmniOS on a Supermicro Motherboard with a DOM
>> device for boot .
>>
>> It is working fine, no issues ...
>>
>> But, the 64GB DOM has just 9GB of space left
>>
>> Can I delete something ( temp files, compacted installed packages, etc
>> ) to free some space ?
>
> You might have oversized swap and/or dump volumes.  Do a
>
>   zfs list -t volume
>
> What volume sizes are shown

NAME USED  AVAIL  REFER  MOUNTPOINT
rpool/dump  41.5G  9.15G  41.5G  -
rpool/swap  4.13G  13.0G   276M  -

I did not changed anything during instalation proccess, I've just
accepted all defaults


Fábio Rabelo
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss