- Community Home
- >
- HPE Community, Taiwan
- >
- HP-UX
- >
- 系統管理
- >
- 如何backup一個大於2GB的檔案到 tape 中 ?
系統管理
1753797
會員
7167
線上
108799
解決方案
論壇
類別
Company
Local Language
返回
論壇
討論平台
返回
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
部落格
信息
社區語言
語言
論壇
部落格
文章選項
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 10-16-2004 06:53 AM
在 10-16-2004 06:53 AM
如何backup一個大於2GB的檔案到 tape 中 ?
我有一些檔案大於2GB要backup到tape中
但因為tar and cpio的指令不支援大於2GB的檔案
所以有什麼方式可將檔案被到tape?
而且可方便的取回
但因為tar and cpio的指令不支援大於2GB的檔案
所以有什麼方式可將檔案被到tape?
而且可方便的取回
3則回覆 3
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 10-16-2004 07:58 AM
在 10-16-2004 07:58 AM
如何backup一個大於2GB的檔案到 tape 中 ?
I do a test by using tar to backup a 3GB file into tape,
I don't see the 2G limitation on tar.
Here is my test for your reference.
By the way, have you try the fbackup to backup your files ?
hptasob:/PData#uname -a
HP-UX hptasob B.11.11 U 9000/785 2001947520 unlimited-user license
hptasob:/PData#what /usr/bin/tar
/usr/bin/tar:
tar.c $Date: 2003/05/19 02:55:16 $Revision: r11.11/6 PATCH_11.11 (PHCO_28992)
$Revision: @(#) all CUP11.11_BL2003_0522_1 PATCH_11.11 PHCO_28992
Thu May 22 03:24:02 PDT 2003 $
hptasob:/PData#ll
total 6291472
-rw-rw-rw- 1 root sys 3221225472 Oct 15 10:37 3g
drwxr-xr-x 5 root sys 96 Jul 9 17:00 hp-ux_patches
drwxr-xr-x 2 root root 96 Jul 9 13:20 lost+found
drwxr-xr-x 3 root sys 96 Jul 30 13:05 patch_bundles
hptasob:/PData#tar cv 3g
a 3g 6291456 blocks
hptasob:/PData#rm 3g
hptasob:/PData#tar xv
x 3g, 3221225472 bytes, 6291456 tape blocks
hptasob:/PData#ll 3g
-rw-rw-rw- 1 root sys 3221225472 Oct 15 10:37 3g
I don't see the 2G limitation on tar.
Here is my test for your reference.
By the way, have you try the fbackup to backup your files ?
hptasob:/PData#uname -a
HP-UX hptasob B.11.11 U 9000/785 2001947520 unlimited-user license
hptasob:/PData#what /usr/bin/tar
/usr/bin/tar:
tar.c $Date: 2003/05/19 02:55:16 $Revision: r11.11/6 PATCH_11.11 (PHCO_28992)
$Revision: @(#) all CUP11.11_BL2003_0522_1 PATCH_11.11 PHCO_28992
Thu May 22 03:24:02 PDT 2003 $
hptasob:/PData#ll
total 6291472
-rw-rw-rw- 1 root sys 3221225472 Oct 15 10:37 3g
drwxr-xr-x 5 root sys 96 Jul 9 17:00 hp-ux_patches
drwxr-xr-x 2 root root 96 Jul 9 13:20 lost+found
drwxr-xr-x 3 root sys 96 Jul 30 13:05 patch_bundles
hptasob:/PData#tar cv 3g
a 3g 6291456 blocks
hptasob:/PData#rm 3g
hptasob:/PData#tar xv
x 3g, 3221225472 bytes, 6291456 tape blocks
hptasob:/PData#ll 3g
-rw-rw-rw- 1 root sys 3221225472 Oct 15 10:37 3g
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 10-16-2004 08:56 AM
在 10-16-2004 08:56 AM
如何backup一個大於2GB的檔案到 tape 中 ?
tar doesn't support > 2GB
Suggestion:
1. can get GNU tar from here: http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/
2. 'fbackup' is far better than tar anyway (performance wise) and has many more options.
3. PHCO_29229:
Enhancement Request:tar has been enhanced to support backup of files upto 8GB from the earlier 2GB
For 11.00
For 11.11 PHCO_28992
Suggestion:
1. can get GNU tar from here: http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/
2. 'fbackup' is far better than tar anyway (performance wise) and has many more options.
3. PHCO_29229:
Enhancement Request:tar has been enhanced to support backup of files upto 8GB from the earlier 2GB
For 11.00
For 11.11 PHCO_28992
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 10-17-2004 09:03 PM
在 10-17-2004 09:03 PM
如何backup一個大於2GB的檔案到 tape 中 ?
erpscm01:root />uname -a
HP-UX erpscm01 B.11.11 U 9000/800 2879883750 unlimited-user license
erpscm01:root />what /usr/bin/tar
/usr/bin/tar:
tar.c $Date: 2001/08/01 07:30:23 $Revision: r11.11/2 PATCH_11.11 (PHCO_24716)
$Revision: @(#) all CUP11.11_BL2001_0814_2 PATCH_11.11 PHCO_24716
Tue Aug 14 16:57:24 PDT 2001 $
erpscm01:root /backup/dump>tar cvf /dev/rmt/0m exp_adexa_1015.dmp
tar: Size of exp_adexa_1015.dmp > 2GB. Not dumped.
看來是我 tar 的版本過舊需要上 patch
謝謝解決我的問題
HP-UX erpscm01 B.11.11 U 9000/800 2879883750 unlimited-user license
erpscm01:root />what /usr/bin/tar
/usr/bin/tar:
tar.c $Date: 2001/08/01 07:30:23 $Revision: r11.11/2 PATCH_11.11 (PHCO_24716)
$Revision: @(#) all CUP11.11_BL2001_0814_2 PATCH_11.11 PHCO_24716
Tue Aug 14 16:57:24 PDT 2001 $
erpscm01:root /backup/dump>tar cvf /dev/rmt/0m exp_adexa_1015.dmp
tar: Size of exp_adexa_1015.dmp > 2GB. Not dumped.
看來是我 tar 的版本過舊需要上 patch
謝謝解決我的問題
以上表述為作者個人觀點,不代表惠普公司,使用本網站,請遵守網站使用規則和條款
© 版权所有 2024 慧与发展有限责任合伙企业