[問題] 有關於liunx檔案2G的問題

看板Linux作者 (卡布其諾)時間12年前 (2012/03/18 21:08), 編輯推噓1(107)
留言8則, 4人參與, 最新討論串1/1
因為LIUNX主機上有個程式跑BACKUP後產生的檔案都約3.5G上下 目前需要RESTORE,卻發現程式會跑但是無法正常跑完RESTORE 後來查了文件發現 If you chose to save to a Disk File, enter the name of the file system to store the backup. Click Browse to select from a list. If your backup file is expected to exceed 2 GB, ensure that the location where the file is to be stored is defined as a Large File System. Otherwise, the backup file will be incomplete. 以前資料沒那麼多的時候大約是1.5G,所以做RESTORE都沒問題 所以問題應該是出在LINUX 這2G的限制上嗎? 不過程式跑BACKUP都沒有出錯訊息...@@,還請高手幫忙~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.168.41.188

03/18 21:22, , 1F
你是把檔案丟到fat16之類的分區上嗎?
03/18 21:22, 1F

03/19 11:18, , 2F
EXT3 = =
03/19 11:18, 2F

03/20 00:40, , 3F
http://en.wikipedia.org/wiki/Ext3 # 2GB 是誰的限制 @.@
03/20 00:40, 3F

03/20 08:10, , 4F
ext3有一個"large file"的flag. 你可以用file -s /dev/(disk)
03/20 08:10, 4F

03/20 08:10, , 5F
看看有沒有這個flag. ex:
03/20 08:10, 5F

03/20 08:11, , 6F
/dev/sda8: Linux rev 1.0 ext3 filesystem data, UUID=xxx
03/20 08:11, 6F

03/20 08:12, , 7F
volume name "xxx" (large files) (我的其中一個磁區
03/20 08:12, 7F

03/20 08:13, , 8F
比較新的系統mkfs出來應該都有largefilew,你的OS有多老啊?
03/20 08:13, 8F
文章代碼(AID): #1FPTvgrt (Linux)