NVE: How to Increase "data01" Partition Size

Summary: This article describes how to increase the /data01 partition size on a NetWorker Virtual Edition (NVE) server.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

CAUTION: This process is not intended or appropriate for standard technical support. These steps must be performed by the system administrator who manages the NVE. If you require assistance, contact your Dell Site Account Manager (SAM) or Dell Site Sales Rep to engage with our Global Professional Services (PS) team.

Sizing and scaling information can be found in the NetWorker Virtual Edition Deployment and NetWorker Performance Optimization Planning Guides available through Dell Support NetWorker Product Page.

To identify the file system type of the NVE, run the following command from an SSH session: 

mount
/dev/sdb1 on /data01 type xfs (rw,noatime,attr2,inode64,noquota)
NOTE: This article only applies to High-Performance Scalable File System (XFS) /data01 partitionsAll NVEs deployed or upgraded to 19.4.x and later use XFS for the /data01 partition. NetWorker 19.4 reached End of Support Life (EOSL) 2023-11-30. 

Prerequisites:

WARNING: Depending on the NVE's state, it may not be possible to perform some of these steps. For example, if NetWorker services will not start because /data01 is at 100% capacity. The steps provided are precautionary to ensure NetWorker data is protected.
  1. Create a server bootstrap backup:
    1. From the NetWorker Management Console (NMC) or NetWorker Web User Interface (NWUI), perform a Server Protection backup job.
      1. If neither the NMC or NWUI is accessible, run the following command on the NVE: sudo nsrpolicy start -p "Server Protection" -w "Server backup"
      2. Monitor the backup session using: sudo nsrwatch
    2. Open an admin SSH session on the NVE and collect the bootstrap save set details: sudo mminfo -B
    3. If bootstrap email notifications are not configured, copy the mminfo output off of the NVE and save in a file. Email notifications can be configured by following: NetWorker: How To Configure Policy Email Notifications
  2. Stop all running NetWorker server services:
    1. sudo nsr_shutdown
    2. sudo systemctl stop gst
    3. sudo systemctl stop nwui
  3. Disable NetWorker services from starting during the next boot:
    1. sudo systemctl disable networker
    2. sudo systemctl disable gst
    3. sudo systemctl disable nwui
  4. From VMware, shut down the NVE Virtual Machine (VM) and Increase the Hard Disk 2 from the VM's settings.
WARNING: The option to increase disk size may be unavailable if snapshots exist. Delete and consolidate any snapshots for the NVE VM.
  1. Create a VMware snapshot of the NVE, then power it up.
NOTE: This snapshot can be deleted once the disk expansion is complete and the NVE and NetWorker are in an operational state.

Process:

  1. Once the VM has started, open an SSH session to the NVE VM as admin.
  2. Switch to the root user by running: sudo su -
  3. Validate that no NetWorker services are running: ps -ef | grep "nsr\|gst\|nwui"
  4. Rescan the devices: echo 1 > /sys/block/sdb/device/rescan
  5. Run fdisk against /dev/sdb this should show the current size and the size added in step 1:
nve:~ # fdisk -l /dev/sdb
GPT PMBR size mismatch (524287999 != 629145599) will be corrected by write.
The backup GPT table is not on the end of the device. This problem will be corrected by write.
Disk /dev/sdb: 300 GiB, 322122547200 bytes, 629145600 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3C1FF651-B360-4218-9106-DE80B690EA2C

Device     Start       End   Sectors  Size Type
/dev/sdb1   2048 524285951 524283904  250G Microsoft basic data
NOTE: In the above example, the /data01 partition is 250 GB; however, the hard disk has been increased to 300 GB. 
  1. Increase the /data01 partition by typing: growpart /dev/sdb 1
nve:~ # growpart /dev/sdb 1
CHANGED: partition=1 start=2048 old: size=524283904 end=524285952 new: size=629143519 end=629145567
  1. Verify the file system by typing: xfs_growfs -d /data01
  2. The partition should now show the expanded size: df -Th | grep "/data01"
nve:~ # df -Th | grep "/data01"
/dev/sdb1                                   xfs       300G  4.8G  296G   2% /data01
  1. Start NetWorker services: 
    1. systemctl start networker
    2. systemctl start gst
    3. systemctl start nwui
  2. Reenable automatic startup for NetWorker services:
    1. systemctl enable networker
    2. systemctl enable gst
    3. systemctl enable nwui
WARNING: if the /data01 partition reached 100% capacity, this can lead to corruption of NetWorker databases. Validate that the NetWorker server is healthy (no missing clients, groups, policies, devices, backups, and so forth). If a data loss issue is observed, contact NetWorker support immediately. A NetWorker Disaster Recovery (nsrdr) is required: NetWorker: NetWorker Server Disaster Recovery (NSRDR)

Additional Information

Some additional steps that can be followed to reduce disk usage used by log files.

Jobsdb retention

The jobsdb is a NetWorker database which holds a record of policy completion statuses, it also determines how long the /nsr/logs/policy/ and /nsr/logs/recover logs are retained. The default window is 72 hours. After 72 hours have passed for a given job, its jobdsb entries are removed and any associated log files are deleted. The jobsdb retention can be seen in nsradmin:

nve:~ # nsradmin
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> show Jobsdb retention in hours
nsradmin> print type: nsr
   Jobsdb retention in hours: 72;
If the duration is extended and you are observing large disk space usage due to .log and .raw files from NetWorker, reduce it to the default (72 hours). This can be done either from the NetWorker Management Console (NMC) or from nsradmin:

nsradmin:
nsradmin> . type: nsr
Current query set
nsradmin> update Jobsdb retention in hours: 72
   Jobsdb retention in hours: 72;
Update? y
updated resource id 3.0.207.103.0.0.0.0.98.242.218.92.192.168.25.12(1489)

NMC:

Changing the jobsdb retention from the NMC

Server and NMC logs

Realtime rendering, log rollover by size, and number of copies can be modified for NetWorker's /nsr/logs/daemon.raw and the NMC's /opt/lgtonmc/gstd.raw. These settings are not enabled by default. The daemon.raw is on the NVE's disk 2 under /data01/nsr/logs. The NMC gstd.raw is on disk 1 under the NVE's root (/) partition /opt/lgtonmc/logs.

How to enable: NetWorker: How to automatically render daemon.raw to daemon.log in real time
 
NOTE: Under some troubleshooting actions, the /nsr/res/nsrladb is renamed. If the nsrladb is renamed or deleted, a new nsrladb is created during service startup. These settings are reverted to default.
You can configure log rollover to persist even if nsrladb is renamed by setting logrotate on the NVE's OS for NetWorker service logs.

vi /etc/logrotate.conf

Add the following lines:
# NetWorker log files
/nsr/logs/daemon.log {
    rotate 5
    weekly
    create
    missingok
    compress
}

/nsr/logs/daemon.raw {
    rotate 5
    weekly
    create
    missingok
    compress
    delaycompress
}

/opt/lgtonmc/logs/gstd.log {
    rotate 5
    weekly
    create
    missingok
    compress
}

/opt/lgtonmc/logs/gstd.raw {
    rotate 5
    weekly
    create
    missingok
    compress
    delaycompress
}
  • weekly this is the log rotation period; the logs are rotated every week. Other possible values are daily and monthly.
  • rotate 5 indicates that only five rotated logs should be kept. The oldest file is removed on the subsequent run.
  • missingok If the log file is missing, go on to the next one without issuing an error message.
  • compress all rotated logs should be compressed.
  • delaycompress can be used when some program cannot be told to close its logfile and thus might continue writing to the previous log file for some time
  • Other options can be found in the logrotate man page. https://linux.die.net/man/8/logrotateThis hyperlink is taking you to a website outside of Dell Technologies.
NOTE: The above example is not a recommendation on how many rotate cycles should be set, or how often this rotation should be done. This must be determined by the backup/NVE administrator. To retain logs longer, create a NetWorker client for the NVE to back up the /nsr/logs directory using a NetWorker Protection Policy.

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000014111
Article Type: How To
Last Modified: 20 Feb 2026
Version:  18
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.