But that is VIOS, not the HMC prompt. The HMC is extremely locked down
compared to a VIOS.

On Tue, 19 Apr 2022, 11:28 Jim Oberholtzer, <midrangel@xxxxxxxxxxxxxxxxx>
wrote:

Yea, all that is, is a script that calls df so you can do it in VIOS as
opposed to going into AIX (oem_setup_env which has an "su" kicked in)

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On Tue, Apr 19, 2022 at 9:23 AM Rob Berendt <rob@xxxxxxxxx> wrote:

Thank you. Output looks much like the command they had already given me.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Jim
Oberholtzer
Sent: Tuesday, April 19, 2022 9:19 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx

Subject: Re: vHMC disk size

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.


Rob:

Sure it is:
oem_setup_env
df
<results>
padmin@vios1:/home/padmin $ oem_setup_env
root@vios1:/home/padmin # df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1048576 866608 18% 5231 6% /
/dev/hd2 11534336 2751392 77% 69632 18% /usr
/dev/hd9var 2097152 1477032 30% 3696 3% /var
/dev/hd3 10485760 10476928 1% 61 1% /tmp
/dev/hd1 20971520 9853184 54% 2533 1% /home
/dev/hd11admin 1048576 1047728 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 2097152 1263720 40% 5694 4% /opt
/dev/livedump 1048576 1047760 1% 4 1%
/var/adm/ras/livedump
/ahafs - - - 37 1% /aha
root@vios1:/home/padmin #


As to size of the disk, IBMs favorite answer: "it depends" Do you want
to
mount DVD images, how many versions of update files you keep, how long
your
log file retention is.......

I like 600 myself, although the above example is a mirrored drive on my
P8.




--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On Tue, Apr 19, 2022 at 7:44 AM Rob Berendt <rob@xxxxxxxxx> wrote:

I don't think df is an option


https://www.ibm.com/docs/en/power9/9009-41G?topic=interfaces-hmc-commands

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Wilson, Jonathan
Sent: Tuesday, April 19, 2022 8:33 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: vHMC disk size

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and
know
the content is safe.


On Tue, 2022-04-19 at 11:44 +0000, Rob Berendt wrote:
It's recommended that your vHMC be at least 500GB.
My question is: If it needs to be 500GB do you need to create it
bigger to actually get 500GB of usable space?
PC guy who generated it says he made it 500GB. However when I take
monhmc -r disk
and add up the file spaces I get 449458104 1k blocks or ~450GB
Or is there just a better way to see how much disk I have?

As the HMC seems to be *nix'ish (i've never used one, only going on
what I've seen on here)... you might find that "df" works and if it
does then "df -h" for the human readable format and "df -H" for the
same but in si units (powers of 1000's)

My guess is that 500GB was created and that is obviously less when
reported in GiB units.

As an aside note: My biggest linux annoyance is carefully setting up
partitions to make best use of sizes when mapped to raid arrays (to get
stripes and blocks and stuff all nicely lined up) and then have to do
it all over again via a live version of debian as the installer works
in GB units not GiB. I have to do it so rarely that by the time it
comes around again, I've forgotten the installers partition management
is in the wrong units.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.