2012-09-20 253 views
-1

我讀到了字節​​與集羣理論,但我認爲它不適用於我的情況; wtf大小和磁盤大小


似乎並不有「一堆小文件」做;
enter image description here

. 
├── [ 11K] 2ndVisit_Checklist.xlsx 
├── [ 35K] 2ndVisit FTS_Timetable.xlsx 
├── [ 34K] 2ndVisit_Roomlist.pdf 
├── [ 27K] 2ndVisit_Teilnehmer.xlsx 
├── [9.5K] Belgian Pupils for European Parliament.xlsx 
├── [4.0K] Brussel EU 
│ ├── [ 64K] Checkliste.doc 
│ ├── [144K] Plan A73.doc 
│ ├── [ 38K] TN Liste EP.docx 
│ └── [108K] TN Liste EP V02.doc 
├── [ 12K] Financial overview second visit.xlsx 
├── [ 43K] getting to know each other.doc 
├── [ 62K] Hotel_confirmation_dinner.pdf 
├── [204K] Letter_Parents_Agreement.docx 
├── [239K] Letter_Parents_Costs.docx 
├── [ 17K] Ouders regeling.docx 
├── [ 12K] Pictures 
│ ├── [5.7M] DSC_0007.JPG 
│ ├── [7.3M] DSC_0015.JPG 
│ ├── [8.0M] DSC_0017.JPG 
│ ├── [8.5M] DSC_0040.JPG 
│ ├── [5.8M] DSC_0041.JPG 
│ ├── [5.2M] DSC_0042.JPG 
│ ├── [5.4M] DSC_0046.JPG 
│ ├── [6.2M] DSC_0066.JPG 
│ ├── [5.9M] DSC_0074.JPG 
│ ├── [8.2M] DSC_0077.JPG 
│ ├── [6.1M] DSC_0080.JPG 
│ ├── [8.7M] DSC_0083.JPG 
│ ├── [8.8M] DSC_0086.JPG 
│ ├── [8.5M] DSC_0087.JPG 
│ ├── [7.3M] DSC_0094.JPG 
│ ├── [4.6M] DSC_0102.JPG 
│ ├── [7.5M] DSC_0120.JPG 
│ ├── [7.8M] DSC_0121.JPG 
│ ├── [8.3M] DSC_0123.JPG 
│ ├── [7.6M] DSC_0125.JPG 
│ ├── [5.7M] DSC_0130.JPG 
│ ├── [8.5M] DSC_0138.JPG 
│ ├── [6.6M] DSC_0164.JPG 
│ ├── [7.2M] DSC_0165.JPG 
│ ├── [6.5M] DSC_0169.JPG 
│ ├── [6.9M] DSC_0174.JPG 
│ ├── [8.5M] DSC_0196.JPG 
│ ├── [7.0M] DSC_0200.JPG 
│ ├── [7.8M] DSC_0214.JPG 
│ ├── [8.5M] DSC_0245.JPG 
│ ├── [8.2M] DSC_0258.JPG 
│ ├── [8.2M] DSC_0264.JPG 
│ ├── [7.8M] DSC_0270.JPG 
│ ├── [7.9M] DSC_0271.JPG 
│ ├── [7.3M] DSC_0273.JPG 
│ ├── [5.9M] DSC_0287.JPG 
│ ├── [7.8M] DSC_0293.JPG 
│ ├── [7.9M] DSC_0298.JPG 
│ ├── [8.0M] DSC_0299.JPG 
│ ├── [7.5M] DSC_0300.JPG 
│ ├── [7.9M] DSC_0304.JPG 
│ ├── [6.1M] DSC_0322.JPG 
│ ├── [6.7M] DSC_0330.JPG 
│ ├── [7.1M] DSC_0333.JPG 
│ ├── [7.9M] DSC_0338.JPG 
│ ├── [7.2M] DSC_0343.JPG 
│ ├── [7.0M] DSC_0348.JPG 
│ ├── [6.5M] DSC_0350.JPG 
│ ├── [7.5M] DSC_0359.JPG 
│ ├── [7.2M] DSC_0370.JPG 
│ ├── [7.7M] DSC_0399.JPG 
│ ├── [8.4M] DSC_0404.JPG 
│ ├── [8.4M] DSC_0409.JPG 
│ ├── [8.5M] DSC_0417.JPG 
│ ├── [7.8M] DSC_0424.JPG 
│ ├── [8.0M] DSC_0426.JPG 
│ ├── [6.3M] DSC_0429.JPG 
│ ├── [7.6M] DSC_0435.JPG 
│ ├── [6.0M] DSC_0443.JPG 
│ ├── [6.7M] DSC_0450.JPG 
│ ├── [7.5M] DSC_0453.JPG 
│ ├── [6.9M] DSC_0465.JPG 
│ ├── [6.2M] DSC_0475.JPG 
│ ├── [7.6M] DSC_0479.JPG 
│ └── [6.2M] DSC_0487.JPG 
├── [ 80K] Presentation First day.pptx 
├── [ 12K] price calculation activities 2nd visit.xlsx 
├── [9.6K] Prices in Turnhout.xlsx 
├── [9.9K] Regular lessons during visit for SO Zenit pupils.xlsx 
└── [ 24K] rules and stuff.doc 

2 directories, 85 files 

在考慮中的目錄是一個NTFS文件系統,與來自文件系統EXT4一個符號鏈接。

+0

如果你有大量的小文件,那麼每個文件將佔據整個街區,這會導致內部碎片。檢查這裏是否屬於這種情況。 – nhahtdh

+0

@nhahtdh似乎並非如此;看我的編輯。 – RobinJ

+0

看看這個案例:http://www.linuxquestions.org/questions/linux-software-2/%5Blubuntu%5D-files-size-on-disk-is-~-10x-total-size-of-files -930714/ – nhahtdh

回答

1

我不知道爲什麼字節VS集羣在這裏並不適用。

文件的總大小表示實際文件的以字節爲單位的大小。當文件存儲在磁盤上時,它們通常會佔用更多的空間,因爲它們會佔用完整的羣集,即使文件比較小。

基於這樣的事實,這是一個SVN目錄,通常有大量的小文件,它可以解釋爲什麼在磁盤上的大小大得多。我只有10個字節的文件可能需要2KB的磁盤,具體取決於你的簇大小。

簇大小取決於文件系統和硬盤驅動器的尺寸上。

+0

正如你可以在上面的目錄樹中看到的那樣;似乎並不適用。 – RobinJ

+0

不是我的特定問題的答案,但您的答案可能適用於其他人。我的特殊經歷似乎是由PCManFM中的一個錯誤引起的。 – RobinJ