HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup write error
Operating System - HP-UX
1838263
Members
3739
Online
110125
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 09:05 AM
05-31-2006 09:05 AM
fbackup write error
We have an rp2430 that is getting an fbackup write error when run at night from an at job. The thing is the permissions are wide open, so is there any other reason it would not be able to write to a file? I get the following error:
fbackup(1004): session begins on Sun May 28 23:10:06 2006
fbackup(3024): writing volume 1 to the output file /JDIS/JDISONLINE/DAILY
fbackup(3014): WRITE ERROR: could not write to the output file
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
The following is the permissions:
bortan01# ls -ld /JDIS/JDISONLINE
drwxrwxrwx 2 root sys 8192 May 31 13:03 /JDIS/JDISONLINE
bortan01# ll /JDIS/JDISONLINE/
total 12219072
-rw-rw-rw- 1 root group 2141918491 May 30 22:10 DAILY.Z
-rwxrwxrwx 1 root group 295760 May 30 22:10 DAILY.index
-rw-rw-rw- 1 root group 4113913715 Apr 29 20:19 MONTHLYDATA01020304
0506070811.Z
-rwxrwxrwx 1 sys999 group 1625 Feb 20 09:09 jdisload_online
There is a DAILY.Z, but no DAILY, so I don't understand why it would not be able to write to it.
fbackup(1004): session begins on Sun May 28 23:10:06 2006
fbackup(3024): writing volume 1 to the output file /JDIS/JDISONLINE/DAILY
fbackup(3014): WRITE ERROR: could not write to the output file
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
The following is the permissions:
bortan01# ls -ld /JDIS/JDISONLINE
drwxrwxrwx 2 root sys 8192 May 31 13:03 /JDIS/JDISONLINE
bortan01# ll /JDIS/JDISONLINE/
total 12219072
-rw-rw-rw- 1 root group 2141918491 May 30 22:10 DAILY.Z
-rwxrwxrwx 1 root group 295760 May 30 22:10 DAILY.index
-rw-rw-rw- 1 root group 4113913715 Apr 29 20:19 MONTHLYDATA01020304
0506070811.Z
-rwxrwxrwx 1 sys999 group 1625 Feb 20 09:09 jdisload_online
There is a DAILY.Z, but no DAILY, so I don't understand why it would not be able to write to it.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 09:35 AM
05-31-2006 09:35 AM
Re: fbackup write error
Shalom,
the backup is dead, sure as anything in life. the error message may be truncated, thats not uncommon.
SEP
the backup is dead, sure as anything in life. the error message may be truncated, thats not uncommon.
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 01:08 PM
05-31-2006 01:08 PM
Re: fbackup write error
Sounds like a bad tape. How many times have you used it? Cleaned the tape drive recently?
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 02:51 PM
05-31-2006 02:51 PM
Re: fbackup write error
It appears that you are writing to a file, not to a tape. Because you did not indicate whether this script is running as root or another user, it isn't possible to determine any permission problems. However, the permissions are really messed up (probably caused by a sysadmin trying to make the backup work).
First, the permissions drwxrwxrwx (777) are a massive security problem. Same with -rw-rw-rw-. If this data is important, NEVER allow every user on the computer to trash the files. Also, datafiles (like DAILY.index and jdisload_online) should NEVER have the execute bit set as they are not executable. Now having the execute bit set is not a security problem, it is just bad practice.
Now you cannot determine access rights to a file or directory until you know the permission(s) of the entire path. Missing from your list is the /JDIS directory. Now it may be 777 also (also a poor setting) and since you've tried changing the permissions and it does not work, the problem is not permissions. Change them back. Assuming root is running this backup, the minimum permissions should be:
(chmod 755 /JDIS /JDIS/JDISONLINE
bortan01# ls -ld /JDIS/JDISONLINE
drwxr-xr-x 2 root sys 8192 May 31 13:03 /JDIS/JDISONLINE
(chmod 644 DAILY.Z DAILY.index MONTHLYDATA01020304 jdisload_online
bortan01# ll /JDIS/JDISONLINE/
total 12219072
-rw-r--r-- 1 root group 2141918491 May 30 22:10 DAILY.Z
-rw-r--r-- 1 root group 295760 May 30 22:10 DAILY.index
-rw-r--r-- 1 root group 4113913715 Apr 29 20:19 MONTHLYDATA01020304
0506070811.Z
-rw-r--r-- 1 sys999 group 1625 Feb 20 09:09 jdisload_online
Now this assumes that users are allowed to look at this data. If not, change the chmod 644 to 600.
AS far as the problem, use this command:
bdf /JDIS/JDISONLINE
You may not have enough space on the lvol to save the files. fbackup is more comkfortable writing to a real tape so error messages are not complete for disk problems. The WRITE error probably means: filesystem full
Verify the filesystem problem by looking at /var/adm/syslog/syslog.log
Bill Hassell, sysadmin
First, the permissions drwxrwxrwx (777) are a massive security problem. Same with -rw-rw-rw-. If this data is important, NEVER allow every user on the computer to trash the files. Also, datafiles (like DAILY.index and jdisload_online) should NEVER have the execute bit set as they are not executable. Now having the execute bit set is not a security problem, it is just bad practice.
Now you cannot determine access rights to a file or directory until you know the permission(s) of the entire path. Missing from your list is the /JDIS directory. Now it may be 777 also (also a poor setting) and since you've tried changing the permissions and it does not work, the problem is not permissions. Change them back. Assuming root is running this backup, the minimum permissions should be:
(chmod 755 /JDIS /JDIS/JDISONLINE
bortan01# ls -ld /JDIS/JDISONLINE
drwxr-xr-x 2 root sys 8192 May 31 13:03 /JDIS/JDISONLINE
(chmod 644 DAILY.Z DAILY.index MONTHLYDATA01020304 jdisload_online
bortan01# ll /JDIS/JDISONLINE/
total 12219072
-rw-r--r-- 1 root group 2141918491 May 30 22:10 DAILY.Z
-rw-r--r-- 1 root group 295760 May 30 22:10 DAILY.index
-rw-r--r-- 1 root group 4113913715 Apr 29 20:19 MONTHLYDATA01020304
0506070811.Z
-rw-r--r-- 1 sys999 group 1625 Feb 20 09:09 jdisload_online
Now this assumes that users are allowed to look at this data. If not, change the chmod 644 to 600.
AS far as the problem, use this command:
bdf /JDIS/JDISONLINE
You may not have enough space on the lvol to save the files. fbackup is more comkfortable writing to a real tape so error messages are not complete for disk problems. The WRITE error probably means: filesystem full
Verify the filesystem problem by looking at /var/adm/syslog/syslog.log
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP