Dell PowerStore 3000X EMC PowerStore Service Scripts Guide - Page 13

Make space on the root partition (svc_cleanup), Usage, Format, Optional arguments

Page 13 highlights

Example Run the following command to download the configuration with the unique identifier 40bb350f-9924-4c3d-b982-ec3c61087442 to /home/eng. svc_arrayconfig download --ip=10.12.13.45 --path=/home/eng --username=tom --password=password 40bb350f-9924-4c3d-b982-ec3c61087442 Make space on the root partition (svc_cleanup) This service script allows you to gain access to a system that is full by removing data that is consuming space on the root partition. The cleanup deletes old data collections, old journal logs, and old core dumps. Verify that the root partition is full. If the root partition is not full, the system asks if you want to continue. Remove old data collections from /cyc_var/cyc_service/data_collection. If a data collection is not found, find old journal logs in /var/log/journal and delete oldest one. If a journal log is not found, you can find a core dump at /cyc_var/cyc_dumps/processed/ and delete it. Usage Function Mode Usage Requires service user password? Requires root privileges? May cause data unavailability? May cause data loss? Scope Prerequisites System Operations Service Service Yes No No No Node None Format svc_cleanup [-h] Optional arguments Qualifier -h, --help -d, --dataCollection -c, --coreDump -a, --all -j, --journalFiles -t, --tmpDataCollection Description Show the help message and exit. Clean up the data collections. Clean up stored core files. Clean up the data collections, core dumps, and journals. Clean up the journal files. Clean up the temporary data collection directory. Service Commands 13

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

Example
Run the following command to download the configuration with the unique identifier
40bb350f-9924-4c3d-b982-ec3c61087442
to
/home/eng
.
svc_arrayconfig download --ip=10.12.13.45 --path=/home/eng
--username=tom
--password=password
40bb350f-9924-4c3d-b982-ec3c61087442
Make space on the root partition (svc_cleanup)
This service script allows you to gain access to a system that is full by removing data that is consuming space on the root partition.
The cleanup deletes old data collections, old journal logs, and old core dumps.
Verify that the root partition is full. If the root partition is not full, the system asks if you want to continue.
Remove old data collections from
/cyc_var/cyc_service/data_collection
. If a data collection is not found, find old journal logs
in
/var/log/journal
and delete oldest one.
If a journal log is not found, you can find a core dump at
/cyc_var/cyc_dumps/processed/
and delete it.
Usage
Function
System Operations
Mode
Service
Usage
Service
Requires service user password?
Yes
Requires root privileges?
No
May cause data unavailability?
No
May cause data loss?
No
Scope
Node
Prerequisites
None
Format
svc_cleanup [-h]
Optional arguments
Qualifier
Description
-h
,
--help
Show the help message and exit.
-d
,
--dataCollection
Clean up the data collections.
-c
,
--coreDump
Clean up stored core files.
-a
,
--all
Clean up the data collections, core dumps, and journals.
-j
,
--journalFiles
Clean up the journal files.
-t
,
--tmpDataCollection
Clean up the temporary data collection directory.
Service Commands
13