- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dd command question
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
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
тАО08-31-2006 10:25 AM
тАО08-31-2006 10:25 AM
I'm trying to copy large files (over 2gb) from an mount point on my VA7100 to our SAN and when using the dd command, I simply get a message saying I/O Error.
We're running HPUX 11.0 & the command I'm using is dd if=/d05/exports/wdsa/060829.dmp.Z of=/newd05/exports/wdsa/060829.dmp.Z bs=1024
Our SAN vendor suggested that it may be the version of dd installed that is causing the problem, but I don't know how to find out
1. What version of dd we're running?
2. If necessary, how to upgrade this version to a version that will support files larger then 2gb.
Any help would be appreciated & as I'm leaving for the day, I can't check responses till tomorrow.
Thanks in advance,
Galen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2006 10:43 AM
тАО08-31-2006 10:43 AM
Re: dd command question
The first thing to verify is do you have 'largefiles' enabled on the destination filesystem. Do:
# mkfs -F vxfs -m /dev/dsk/cXtYdZ
...this output will show 'largefiles' or 'nolargeilfes' along with other attributes of the filesystem mounted on the device.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2006 11:59 AM
тАО08-31-2006 11:59 AM
Re: dd command question
if=/d05/exports/wdsa/060829.dmp.Z bs=256k > /newd05/exports/wdsa/060829.dmp.Z
Note that I changed your 1024 (bytes) to 256KiB -- that will make a huge performance difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2006 07:01 PM
тАО08-31-2006 07:01 PM
Re: dd command question
You need to check it first on the mount point on the SAN whether the file system can accept the large files :
To check if large files have been activated, please enter the following command:
# fstyp -v /dev/vgxx/lvolyy|grep f_flag
If the output shows:
f_flag: 16 = largefiles
large files are activated.
If the output shows:
f_flag: 0 = no largefiles
large files are inactive.
To activate the large files, use 'fsadm' as per ACS's info. Below is the format :
# usr/sbin/fsadm -F FSType -o largefiles /dev/vgxx/lvolyy
Hope this information can help.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2006 05:26 AM
тАО09-01-2006 05:26 AM
Re: dd command question
I thought the largefiles might be the problem too but in the /etc/fstab, the entry reads as follows:
/dev/svm/dsk/Amsys3_d05 /newd05 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
Shouldn't this have setup the largefiles option?
The output I get when using James' suggestion is:
mkfs -F vxfs -o iinode=unlimited,bsize=2048,version=3,inosize=256,logsize=1024,nolargefiles /dev/svm/dsk/Amsys3_d05 10485760
and when checking with the fstyp command, it shows: f_flag: 16
So it does appear to be a filesystem problem, but here's what happens when using the following command to set large files:
fsadm -F vxfs -o largefiles /dev/svm/dsk/Amsys3_d05
vxfs fsadm: /dev/svm/dsk/Amsys3_d05 is not the root inode of a vxfs file sytem
Is there something I'm doing wrong here?
Thanks again,
Galen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2006 05:34 AM
тАО09-01-2006 05:34 AM
Re: dd command question
I don't think "dsk" should exist on /dev/svm volume group. just check it out.
Once you confirm actual logical volume name and it's volume group then run fsadm command to enable largefiles option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2006 05:35 AM
тАО09-01-2006 05:35 AM
Re: dd command question
I dont know if this is related but I once had similar problem.
There was a file in .tar format that was being generated and every time this file was bigger than 2 GB it would fail.
The thing is, this problem was patch related, I installed a patch and my problem was solved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2006 05:42 AM
тАО09-01-2006 05:42 AM
SolutionRather than:
fsadm -F vxfs -o largefiles /dev/svm/dsk/Amsys3_d05
Use:
fsadm -F vxfs -o largefiles /newd05
By the way, the largefiles/nolargefile vxfs mount options tell you absolutely nothing about the filesystem's largefile capability.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2006 05:55 AM
тАО09-01-2006 05:55 AM
Re: dd command question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2006 05:57 AM
тАО09-01-2006 05:57 AM