- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Blocking factor on tar
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО07-27-2004 08:42 PM
тАО07-27-2004 08:42 PM
Blocking factor on tar
I get Invalid blocksize. (Max 64)
Isnt my blocksize 32 when using a blocking cator of 64?????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:57 PM
тАО07-27-2004 08:57 PM
Re: Blocking factor on tar
Try
tar -cvf /dev/rmt/0m -b 64
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:01 PM
тАО07-27-2004 09:01 PM
Re: Blocking factor on tar
$ tar -cvf /dev/rmt/0mn -b 64 /etc/hosts
tar: cannot stat -b. Not dumped.
tar: cannot stat 64. Not dumped.
a /etc/hosts 2 blocks
It tries to backup a file called -b a 64 so I put the -b 64 or -b64 at the end like:
$ tar -cvf /dev/rmt/0mn /etc/hosts -b64
a /etc/hosts 2 blocks
tar: cannot stat -b64. Not dumped
and it still tries to backup a file called -b64 or -b and 64.
any other suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 10:16 PM
тАО07-27-2004 10:16 PM
Re: Blocking factor on tar
Block size cannot be more than 20. Check out the man page for blocking factor.
rgrds
[V]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 10:22 PM
тАО07-27-2004 10:22 PM
Re: Blocking factor on tar
I have got it to work but not with the -f option as well. If I do:
tar -cvb 64 /etc/hosts
it works ok and backups to the default /dev/rmt/0m location but when you try and add in a non default destination using -f this is when I hit the issues highlighted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 10:33 PM
тАО07-27-2004 10:33 PM
Re: Blocking factor on tar
tar -cvfb /dev/rmt/0m 64 /etc/hosts
the order of the arguemnet list matters. Becuase the f is before the b the device file has to be before the blocking factor number.