Operating System - HP-UX
1752404 Members
6020 Online
108788 Solutions
New Discussion юеВ

Re: filesystem more than 2 TB

 
SOLVED
Go to solution
yulianto piyut
Valued Contributor

filesystem more than 2 TB

hi all,

I have already create logical volume with size 3 TB, when make filesystem using newfs, there is error "vxfs mkfs: V-3-20000: mkfs: You don't have a license to create a file system of size > 2147483648 sectors (2048 GB)". what it mean ?

# vgdisplay -v vgoutput
--- Volume groups ---
VG Name /dev/vgoutput
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 7
Act PV 7
Max PE per PV 35000
VGDA 14
PE Size (Mbytes) 64
Total PE 49157
Alloc PE 0
Free PE 49157
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 35000g
VG Max Extents 560000


--- Physical volumes ---
PV Name /dev/disk/disk45
PV Status available
Total PE 8001
Free PE 8001
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk46
PV Status available
Total PE 8001
Free PE 8001
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk47
PV Status available
Total PE 8001
Free PE 8001
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk48
PV Status available
Total PE 8001
Free PE 8001
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk49
PV Status available
Total PE 8001
Free PE 8001
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk50
PV Status available
Total PE 8001
Free PE 8001
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk51
PV Status available
Total PE 1151
Free PE 1151
Autoswitch On
Proactive Polling On

# lvcreate -L 3146048 -n lvoutput /dev/vgoutput
Logical volume "/dev/vgoutput/lvoutput" has been successfully created with
character device "/dev/vgoutput/rlvoutput".
Logical volume "/dev/vgoutput/lvoutput" has been successfully extended.
Volume Group configuration for /dev/vgoutput has been saved in /etc/lvmconf/vgoutput.conf
# newfs -F vxfs -o largefiles /dev/vgoutput/rlvoutput
vxfs mkfs: V-3-20000: mkfs: You don't have a license to create a file system of size > 2147483648 sectors (2048 GB)
5 REPLIES 5
Fred Ruffet
Honored Contributor

Re: filesystem more than 2 TB

you can find answer in this thread :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1236935094943+28353475&threadId=1124935

it is said : "2TB Filesystems are only allowed with VxVM as your Volume Manager *and* VxFS (OJFS) versions greater than 3.5m (4.1 is preferred) and for VxFS Layout >4.0."

It's a rather old thread, and I don't know if VxVM is still required as long as you managed to create a 3TB LV. But do you at least have Online JFS installed ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Avinash20
Honored Contributor
Solution

Re: filesystem more than 2 TB

Hi,

Please refer to
docs.hp.com/en/6054/LVM_Limits_White_Paper_V4.pdf

You could have FS of only 2TB in LVM 1.0
From LVM 2.0 you could have FS of 16TB.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: filesystem more than 2 TB

Also
JFS layout version of 4 had a 2Gb limitation
JFS 4.1 supports layout_versions up to version 6.
To increase the maximum filesystem limit, upgrade to layout_version 5

NOTE: - OnlineJFS is required for larger then 2TB filesystems.


11.23 mkfs_vxfs manpage:


VxFS Version 5 Disk Layout File System Sizes
The Version 5 disk layout supports file systems up to 32 terabytes.
The maximum size of the file system you can create depends on the
block size. (The actual maximum file system size is slightly less
than the maximum values in bytes, described below.)

The following table defines the file system sizes and their associated
values:

------------------------------------------
| Maximum File System Size
------------------------------------------------------
Block Size | In sectors | In bytes
------------------------------------------------------
1024 bytes | 4,294,967,039 | approximately 4 TB
2048 bytes | 8,589,934,078 | approximately 8 TB
4096 bytes | 17,179,868,156 | approximately 16 TB
8192 bytes | 34,359,736,312 | approximately 32 TB
------------------------------------------------------

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
grahamswilson
Trusted Contributor

Re: filesystem more than 2 TB

Yes, for file systems over 2TB, you will need the "OnlineJFS" license...this is a separate product/license.

e.g.

# swlist -l bundle -l product|grep -i JFS
# B3929EA B.11.31 HP OnLineJFS (Server)


yulianto piyut
Valued Contributor

Re: filesystem more than 2 TB

thx all,

# vgcreate -V 2.0 -S 30t -s 64 /dev/vgoutput /dev/disk/disk45 /dev/disk/disk46 /dev/disk/disk47 /dev/disk/disk48 /dev/disk/disk49 \^>
Volume group "/dev/vgoutput" has been successfully created.
Volume Group configuration for /dev/vgoutput has been saved in /etc/lvmconf/vgoutput.conf
# vgdisplay -v vgoutput/
vgdisplay: "/vgoutput/group": not a character device.
vgdisplay: Cannot display volume group "vgoutput/".
# vgdisplay -v vgoutput
--- Volume groups ---
VG Name /dev/vgoutput
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 0
Open LV 0
Max PV 511
Cur PV 7
Act PV 7
Max PE per PV 262144
VGDA 14
PE Size (Mbytes) 64
Total PE 49151
Alloc PE 0
Free PE 49151
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 30t
VG Max Extents 491520


--- Physical volumes ---
PV Name /dev/disk/disk45
PV Status available
Total PE 8000
Free PE 8000
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk46
PV Status available
Total PE 8000
Free PE 8000
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk47
PV Status available
Total PE 8000
Free PE 8000
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk48
PV Status available
Total PE 8000
Free PE 8000
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk49
PV Status available
Total PE 8000
Free PE 8000
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk50
PV Status available
Total PE 8000
Free PE 8000
Autoswitch On
Proactive Polling On

PV Name /dev/disk/disk51
PV Status available
Total PE 1151
Free PE 1151
Autoswitch On
Proactive Polling On
# lvcreate -L 3145664 -n lvoutput /dev/vgoutput
Logical volume "/dev/vgoutput/lvoutput" has been successfully created with
character device "/dev/vgoutput/rlvoutput".
Logical volume "/dev/vgoutput/lvoutput" has been successfully extended.
Volume Group configuration for /dev/vgoutput has been saved in /etc/lvmconf/vgoutput.conf
# newfs -F vxfs -o largefiles /dev/vgoutput/rlvoutput
vxfs mkfs: V-3-20000: mkfs: You don't have a license to create a file system of size > 2147483648 sectors (2048 GB)