Sponsored Content
Operating Systems AIX /dev/hd9var/ /var what should i do. Post 302148867 by zaxxon on Tuesday 4th of December 2007 01:25:31 AM
Old 12-04-2007
Sorry, didn't have a look in here for some time.
You can see if you have a mirror if you do a "lsvg -l <insertvgnamehere>".

Example:

Code:
root@blabla:/usr/local/doc> lsvg -l rootvg
rootvg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     2     2    closed/syncd  N/A
hd6                 paging     64    128   2    open/syncd    N/A
hd8                 jfs2log    1     2     2    open/syncd    N/A
hd4                 jfs2       2     4     2    open/syncd    /
hd2                 jfs2       25    50    2    open/syncd    /usr
hd9var              jfs2       4     8     2    open/syncd    /var
hd3                 jfs2       4     8     2    open/syncd    /tmp
hd1                 jfs2       2     4     2    open/syncd    /home
hd10opt             jfs2       4     8     2    open/syncd    /opt
lg_dumplv           sysdump    32    32    1    open/syncd    N/A
loglv00             jfslog     1     2     2    open/syncd    N/A
lv00                jfs        2     4     2    open/syncd    /var/adm/csd
lvrepos             jfs2       10    20    2    open/syncd    /repos
paging00            paging     64    128   2    open/syncd    N/A
lg_dumplv2          sysdump    32    32    1    open/syncd    N/A

When a LV is mirrored you have at least twice the number of PP than LPs. In the example above you can see, that all LVs are mirrored but the 2 sysdump devices lg_dumplv and lg_dumplv2.
Increasing a filesystem by blocks, megabytes or something will at least always allocate up to the full size of the next PP. So if you are at the "border" to the next PP and tell the system you need 200 MB more space in the FS, and have 100 MB left in the current PP, it will use it up and get the next full PP too. Let's say you have a size of 256 MB per PP, it would allocate 100 MB of the current PP and all 256 MB of the next PP. Your FS would be larger by 356 MB instead of only 200 MB. You will see more LPs & PPs allocated and if it is a mirrored LV, you will see even more PPs Smilie

But this is nothing to worry about - this is normal.
 

10 More Discussions You Might Find Interesting

1. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

2. AIX

/dev/hd9var full

/dev/hd9var 819200 1928 100% 12101 12% /var the filesystem is full my self being new to aix what do i do to create space (1 Reply)
Discussion started by: freeman
1 Replies

3. AIX

hd9var full

i have deleted qf's and df's in my /var/spool/mqueue and my /var still remains at 99% full. when i check users i get this: # fuser -xuc /var /var: 8072c(root) 18404(root) 19420c(root) 23558c(root) 24276(root) 24770(root) 25284c(svcagent) 27102c(svcagent) 30242c(root) ... (3 Replies)
Discussion started by: freeman
3 Replies

4. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

5. AIX

Difference between /dev/hdisk and /dev/rhdisk

Hi, How can i check that i am using RAW devices for storage in my AIX machine... Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number eg: dcback1(root):/dev>ls -lrt | grep disk12 crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies

6. AIX

Problem in /dev/hd1 and /dev/hd9var

Hello AIXians, I can't boot my AIX, it hangs and stops at the code error: 0518 After searching google, I knew the problem is due to problems in File Systems. So the solution is booting from any bootable media, then run these commands in maintenance mode: #fsck -y /dev/hd4 #fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies

7. Shell Programming and Scripting

Csh , how to set var value into new var, in short string concatenation

i try to find way to make string concatenation in csh ( sorry this is what i have ) so i found out i can't do : set string_buff = "" foreach line("`cat $source_dir/$f`") $string_buff = string_buff $line end how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies

8. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

9. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

10. HP-UX

Dev/urandom and dev/random missing in HP-UX

Hi, In our HP-UX B.11.11. I could not find dev/urandom and dev/random Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom. Please help (4 Replies)
Discussion started by: rashi
4 Replies
NEWFS_EXFAT(8)						    BSD System Manager's Manual 					    NEWFS_EXFAT(8)

NAME
newfs_exfat -- construct a new ExFAT file system SYNOPSIS
newfs_exfat [-N] [-R] [-I volume-serial-number] [-S bytes-per-sector] [-a sectors-per-FAT] [-b bytes-per-cluster] [-c sectors-per-cluster] [-n number-of-FATs] [-s total-sectors] [-v volume-name] special DESCRIPTION
The newfs_exfat utility creates an ExFAT file system on device special. If the -R option is not given, and the device is already formatted as ExFAT, it will preserve the partition offset, bytes per cluster, FAT offset and size, number of FATs, offset to start of clusters, number of clusters, volume serial number, and volume name (label). If a volume name was specified via the -v option, that name is used instead of the volume's previous name. The options are as follow: -N Don't create a file system: just print out parameters. -R Do not check whether the device is currently formatted as ExFAT. Always derive the partition offset, bytes per cluster, FAT offset and size, and offset to start of clusters based on the device type and size. -I volume-serial-number Volume ID, a 32-bit integer. -S bytes-per-sector Number of bytes per sector. Acceptable values are powers of 2 in the range 512 through 4096. -a sectors-per-FAT Number of sectors per FAT. -b bytes-per-cluster File system block size (bytes per cluster). Acceptable values are powers of 2 in the range 512 through 33554432. -c sectors-per-cluster Sectors per cluster. Acceptable values are powers of 2 in the range 1 through 65536. -n number-of-FATs Number of FATs. Acceptable values are 1 or 2. The default is 1. Using any value other than 1 is discouraged, and may be incompati- ble with other devices. -s total-sectors The total number of sectors in the device. -v volume-name Volume name (label). The name will be converted to UTF-16, and must be no longer than 11 UTF-16 characters. ASCII control charac- ters and some punctuation characters are not allowed (similar to DOS 8.3-style names). NOTE: The volume name may be an empty (zero- length) string. EXAMPLES
newfs_exfat /dev/disk0s1 Create a file system, using default parameters (or existing ExFAT layout), on /dev/rdisk0s1. newfs_exfat -v Hello disk2s1 Create a file system with the name "Hello" on /dev/rdisk2s1. SEE ALSO
mount_exfat(8), fsck_exfat(8) DIAGNOSTICS
Exit status is 0 on success and 1 on error. HISTORY
The newfs_exfat command appeared in Mac OS X 10.6.3. Darwin January 19, 2010 Darwin
All times are GMT -4. The time now is 09:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy