GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what causes this difference ?
Operating System - HP-UX
1848590
Members
5168
Online
104033
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
Forums
Discussions
back
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
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
11-27-2001 08:23 AM
11-27-2001 08:23 AM
what causes this difference ?
I have used cpio to copy a lot of files from one logical volume to another.
The command I used :
cd /swd/cocreate
find . -print | cpio -pdumvxa /pc/uxdata/es/software
After this copy-operation I used du -sk to check if the copy and the source were equal in size (which I expected) :
- the source-directory :
server-2:/swd # du -sk cocreate
244745 cocreate
server-2:/swd #
- the destination-directory :
server-2:/pc/uxdata/es # du -sk software
244568 software
server-2:/pc/uxdata/es #
What causes the difference in size ?
I have manualy checked the source and destination and they seems to contain the same files.
Can anybody explain me what causes the difference in size ?
Greetings,
Chris MARREEL
The command I used :
cd /swd/cocreate
find . -print | cpio -pdumvxa /pc/uxdata/es/software
After this copy-operation I used du -sk to check if the copy and the source were equal in size (which I expected) :
- the source-directory :
server-2:/swd # du -sk cocreate
244745 cocreate
server-2:/swd #
- the destination-directory :
server-2:/pc/uxdata/es # du -sk software
244568 software
server-2:/pc/uxdata/es #
What causes the difference in size ?
I have manualy checked the source and destination and they seems to contain the same files.
Can anybody explain me what causes the difference in size ?
Greetings,
Chris MARREEL
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 08:31 AM
11-27-2001 08:31 AM
Re: what causes this difference ?
When copying files, the sizes will NEVER (or very rarely) be absolutely identical.
The biggest reason for this is the size of the directory itself. As files are added to the directory the size (do an ll -d on the directories) of the directory will grow and grow, but if files are deleted it will never shrink. When you copy everything from a directory, all directory sizes grow as needed during the copy so that space is reclaimed.
Make sense?
The biggest reason for this is the size of the directory itself. As files are added to the directory the size (do an ll -d on the directories) of the directory will grow and grow, but if files are deleted it will never shrink. When you copy everything from a directory, all directory sizes grow as needed during the copy so that space is reclaimed.
Make sense?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 08:32 AM
11-27-2001 08:32 AM
Re: what causes this difference ?
Hi Chris,
Maybe this thread will help.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5cc89200caded5118ff40090279cd0f9,00.html
Darrell
Maybe this thread will help.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5cc89200caded5118ff40090279cd0f9,00.html
Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 08:33 AM
11-27-2001 08:33 AM
Re: what causes this difference ?
Hi Chris:
This is the norm. This question periodically comes up. See Bill Hassell's comments here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5cc89200caded5118ff40090279cd0f9,00.html
Regards!
...JRF...
This is the norm. This question periodically comes up. See Bill Hassell's comments here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5cc89200caded5118ff40090279cd0f9,00.html
Regards!
...JRF...
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 2026 Hewlett Packard Enterprise Development LP