Updated weed shell (markdown)

Konstantin Lebedev 2023-02-13 14:53:04 +05:00
parent 08d28b479a
commit a77dcd9abc

@ -107,7 +107,7 @@ no under replicated volumes
```
# Check and Fix chunks replication
if use see in logs:
if use see in logs filechunk **2480,09a6290e6159aedd** Not Found:
```
I0212 22:22:56.666094 filechunk_manifest.go:197 read http://fast-volume-1:8080/2480,09a6290e6159aedd failed, err: http://fast-volume-1:8080/2480,09a6290e6159aedd?readDeleted=true: 404 Not Found
```
@ -131,6 +131,56 @@ find missing file chunks in dataNodeId fast-volume-3:8080 volume 2480 ...
/buckets/logs-data/2022-10-10/39228128_2022-10-10.log
```
Find the chunk id **2480,09a6290e6159aedd**:
```
> fs.meta.cat /buckets/logs-data/2022-10-10/39228128_2022-10-10.log
{
"name": "39228128_2022-10-10.log",
"isDirectory": false,
"chunks": [
{
"fileId": "2480,09a6290e6159aedd",
"offset": "0",
"size": "3884",
"modifiedTsNs": "1665409412570272776",
"eTag": "O5jilriNGhfJRBCCs+yU4g==",
"sourceFileId": "",
"fid": {
"volumeId": 2480,
"fileKey": "161884430",
"cookie": 1633267421
},
"sourceFid": null,
"cipherKey": "",
"isCompressed": false,
"isChunkManifest": false
}
],
"attributes": {
"fileSize": "3884",
"mtime": "1665409412",
"fileMode": 504,
"uid": 0,
"gid": 0,
"crtime": "1665409412",
"mime": "",
"ttlSec": 0,
"userName": "",
"groupName": [],
"symlinkTarget": "",
"md5": "",
"rdev": 0,
"inode": "0"
},
"extended": {},
"hardLinkId": "",
"hardLinkCounter": 0,
"content": "",
"remoteEntry": null,
"quota": "0"
}chunks 1 meta size: 124 gzip:152
```
3. fs.verify
Check the status of all chunks uploaded in the last hour:
```