LVM and VxVM

How to find wether FS is largefiles or nolargefiles

 
SOLVED
Go to solution
Frank de Vries
Respected Contributor

How to find wether FS is largefiles or nolargefiles

I need to find out if a filesystem
can hold files over 2giga.
I can of course create a file with prealloc
and see if I get an error, but I can't do that
right now.

Meanwhile I would like to check all the filesystems to see which ones already
have been set with fsadm -o largefiles.

But how to see which one are configured
for largefiles and which one aren't
(NB: they are vxfs files systems on hp11.00,
and yes we have online JFS, but that does
not seem to matter anyway)

I tried fstyp also , but in vain.

I am very curious now what the command
or trick is to see that.

Look before you leap
6 REPLIES 6
Ralph Grothe
Honored Contributor
Solution

Re: How to find wether FS is largefiles or nolargefiles

If it's VxFS simply issue

fsadm -F vxfs /mount_point
Madness, thy name is system administration
Pete Randall
Outstanding Contributor

Re: How to find wether FS is largefiles or nolargefiles

# fsadm /dev/vg00/rlvol6
largefiles


Pete

Pete
Rajesh SB
Esteemed Contributor

Re: How to find wether FS is largefiles or nolargefiles

Hi,

Just run the command like
# fsadm /mountpoint

Eg:
# fsadm /disk1
fsadm: /etc/default/fs is used for determining the file system type
nolargefiles


Regards,
Rajesh
Frank de Vries
Respected Contributor

Re: How to find wether FS is largefiles or nolargefiles

for clarity
the fsadm mountpoint works perfectly
but using the lvm device not !!

fsadm /dev/vgpic/lvexport
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: /dev/vgpic/lvexport is not the root inode of a vxfs file sytem
Look before you leap
Pete Randall
Outstanding Contributor

Re: How to find wether FS is largefiles or nolargefiles

Frank,

You have to use the raw device file - or the mountpoint.


Pete

Pete
Frank de Vries
Respected Contributor

Re: How to find wether FS is largefiles or nolargefiles

right you are :°;
Look before you leap