1834517 Members
1908 Online
110068 Solutions
New Discussion

nfs & big files

 
Tenon_1
Occasional Contributor

nfs & big files

hi,
a little problem with my backup ...

i would like to backup more than 2 GB with
fbackup on nfs but it seems to stop at 2 GB
#fabckup -f "file on nfs" -g graph
so ... how can i split my backup ? or compact or .. ?

Thanks
9 REPLIES 9
G. Vrijhoeven
Honored Contributor

Re: nfs & big files

Hi,

Do you backup to tape or to disk. For files >2 GB you need to set the largefiles option on on the filesystem. ( fsadm -F xvfs -o largefiles /mountpoint)?

Gideon
Steven E. Protter
Exalted Contributor

Re: nfs & big files

fbackup will back up files bigger than 2 GB.

The problem is you are copying the file on a temporary basis to a filesystem that doesn't have largefiles enabled.

fadm can upgrade a filesystem to largefiles on the fly.

newfs -F vxfs -o largefiles will do it if the fs is unmounted and you don't mind losing the data on it.

For 11.00 you'll need to add the largefiles parameter to the mount statements in /etc/fstab

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tenon_1
Occasional Contributor

Re: nfs & big files

it 's on disk :
a linux nfs file system (debian 3.0)
exported on my hpux 10.x and 11.00

but i didn't understand if with your solution i had to do it on the nfs file systeme or with my command fbackup ??
G. Vrijhoeven
Honored Contributor

Re: nfs & big files

Tenon,

Can you give us the error.
If you use DDS ( dds1) it can only hold 2Gb of data.

Gideon


Tenon_1
Occasional Contributor

Re: nfs & big files

ok
my problem is from my nfs server
i had to change my nfs version on linux

but is it really impossible to split backup files during my backup ?


Sundar_7
Honored Contributor

Re: nfs & big files

Hi,

I was about to tell u.. NFS version 2 cant handle large files (> 2gB). NFS version 3 can.

Thanks,

Sundar
Learn What to do ,How to do and more importantly When to do ?
Elmar P. Kolkman
Honored Contributor

Re: nfs & big files

What you could do is run fbackup to stdout (-f -) and then pipe to a script/command that splits the result in chunks of, for instance, 2 Gb.

For instance:
fbackup -f - | split -b 2048m - bck-$(date +%Y%m%d)

Restore:
cat bck-* | frestore -f -
Every problem has at least one solution. Only some solutions are harder to find.
T G Manikandan
Honored Contributor

Re: nfs & big files

nfs version 3 should support largefiles
T G Manikandan
Honored Contributor

Re: nfs & big files

Also make sure that you re-export the file system for the nfs after the file system was enabled largefiles.