04-16-2014
1st thing, the error is saying you have no free PPs, so don't go for 256GB extention directly, if you have not observe the available free PPs on VG is 1023 (as one PP is taken by VG).
Just go with 250GB or 255GB expansion instead of 256GB
chfs -a size=+255G /<filesystem name>
As you mentioned you have checked the Max LPs for the LV of that filesystem. But, considering you want to go to 512 GB, you need alteast 2048 LPs on that LV
PP size is 256 mb, so 1gb will have 4 PPs,1024/256=4, then 512(gb)*4=2048(LPs)
Verify that by issuing lslv <lv name> | grep "MAX LPs"
You don't have to reboot the system.
If on the new disk you are expanding this filesystem then, you can easily remove the disk from VG, by issuing reducevg command.
You can issue a command lspv -l hdiskX to list the LV residing on that PV.
Hope this helps.
These 2 Users Gave Thanks to ibmtech For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day.
what is the exact command to do this and does the system need to be... (1 Reply)
Discussion started by: TRUEST
1 Replies
2. AIX
Hi Everybody,
I have AIX 4.3 and I have a FileSystem with 400GB size, which called /db/run. Because of grow up of the application's data, more storage has been added 200GB. To add this space without affecting the application & the application's requirements, I have to add this 200GB to the existed... (9 Replies)
Discussion started by: aldowsary
9 Replies
3. Solaris
hi expert,
please help have a problem with my new Sun Solaris server V890 after power on and booted into the os i had get this error messages below :
* no command can use except "cd"
Boot device: root-disk File and args:
SunOS Release 5.8 Version Generic_117350-34 64-bit
Copyright... (7 Replies)
Discussion started by: bucci
7 Replies
4. AIX
Hello,
Does HACMP have bugs ? I have version 5.4 on AIX 6.1 and when I try to increase filesystem space or logical volume partitions which are under HACMP VG it gives me error:
# lsvg
rootvg
pr0oravg
px0oravg
pb0oravg
pr0sapvg
px0sapvg
pb0sapvg
pr1_pr2_vg
pr2_px1_vg
#
#... (11 Replies)
Discussion started by: filosophizer
11 Replies
5. AIX
Hi guys,
I want to increase my ./usr or just one path in my aix6.1 machine.
currently if I
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00f6126500004c00000 0012aef0c9035
VG STATE: active PP SIZE: 128... (2 Replies)
Discussion started by: pilotHans
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies
7. Solaris
Hi,
I have a strange problem with iscsi.
My vfstab entry looks like this:
/dev/md/dsk/d100 /dev/md/rdsk/d100 /zones/ssapp0895v01 ufs 2 iscsi -
After rebooting, the filesystem gets mounted with the option "nosetuid". I believe the default should be "suid"
/zones/ssapp0895v01 on... (0 Replies)
Discussion started by: alvaro66
0 Replies
8. AIX
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
9. AIX
There is a shared volume group connected to two AIX systems A and B on a shared storage. The shared volume group was regularly attached to the system A and in case of a system A crash, the system B should take over the shared volume group and resources on it. Resources on the shared storage:... (1 Reply)
Discussion started by: yamanu
1 Replies
10. Hardware
Hi Guys
We have a VM machine, now I want to increase the size of the filesystem.
We are running RHEL6 O/S.
I have filesystem that is 500GB I want to increase that filesystem to 1.5 TB.
The guy who manages the VM increased the size on the VM machine, now how do I make sure that the... (7 Replies)
Discussion started by: Phuti
7 Replies
LEARN ABOUT DEBIAN
pmt-ehd
pmt-ehd(8) pam_mount pmt-ehd(8)
Name
pmt-ehd - create an encrypted disk image
Syntax
pmt-ehd [-DFx] [-c fscipher] [-h hash] [-k fscipher_keybits] [-t fstype] -f container_path -s size_in_mb
Options
Mandatory options that are absent are inquired interactively, and pmt-ehd will exit if stdin is not a terminal.
-D Turn on debugging strings.
-F Force operation that would otherwise ask for interactive confirmation. Multiple -F can be specified to apply more force.
-c cipher
The cipher to be used for the filesystem. This can take any value that cryptsetup(8) recognizes, usually in the form of "cipher-
mode[-extras]". Recommended are aes-cbc-essiv:sha256 (this is the default) or aes-xts-essiv:sha256.
-f path
Store the new disk image at path. If the file already exists, pmt-ehd will prompt before overwriting unless -F is given. If path
refers to a symlink, pmt-ehd will act even more cautious.
-h hash
Message digest/hash used for key derivation in the PBKDF2 stage. The default is sha512.
-i cipher
(This option had been removed in pam_mount/pmt_ehd 2.11.)
-k keybits
The keysize for the cipher specified with -c. Some ciphers support multiple keysizes, AES for example is available with at least the
keysizes 192 and 256. Defaults to 256 (to match aes-cbc-essiv). Note that XTS uses two keys, but drawn from the same key material,
so aes-cbc-256 is equivalent to aes-xts-512, and aes-cbc-128 is to aes-xts-256.
-p path
(This option had been removed in pam_mount/pmt_ehd 2.11.)
-s size
The initial size of the encrypted filesystem, in megabytes. This option is ignored when the filesystem is created on a block device.
-t fstype
Filesystem to use for the encrypted filesystem. Defaults to xfs.
-u user
Give the container and fskey files to user (because the program is usually runs as root, and the files would otherwise retain root
ownership).
-x Do not initialize the container with random bytes. This may impact secrecy.
Description
pmt-ehd can be used to create a new encrypted container, and replaces the previous mkehd script as well as any HOWTOs that explain how to
do it manually. Without any arguments, pmt-ehd will interactively ask for all missing parameters. To create a container with a size of 256
MB, use:
pmt-ehd -f /home/user.cont -s 256
pam_mount 2011-Aug-05 pmt-ehd(8)