Notebook / Linux

dmesg -T; Add time stamps to dmesg rsync |-a|Archive mode. This option preserves permissions, timestamps, symbolic links, and other file attributes. It essentially combines several options into one for a complete copy. |-x|One file system. This option prevents rsync from crossing filesystem boundaries, ensuring that it only copies files within the same filesystem. This is useful when you don’t want to include mounted filesystems, such as external drives. |-v|Verbose mode. This option increases the verbosity of the output, providing detailed information about what rsync is doing during the transfer. |-z|Compress files during transfer. This option reduces the size of the data being transferred, which is particularly useful for slower network connections. It compresses the files at the source and decompresses them at the destination.

Get disk partition uuid in linux

 ls -l /dev/disk/by-uuid/

PegaProx

Web Interface: https://<your-ip> VNC WebSocket: https://<your-ip>:444 SSH WebSocket: https://<your-ip>:445

💡 Tip: Check for updates in PegaProx Web UI Settings → Updates → Check for Updates

Commands: systemctl status pegaprox - Check status journalctl -u pegaprox -f - View logs systemctl restart pegaprox - Restart service

Find out if a directory is on root or a mounted drive/share

1. Check the filesystem for a file

Use df with a specific file path.

df -h /path/to/file

This reports the filesystem that contains that file.
If the output shows the mounted device, the file belongs to the mounted drive.
If it shows / (or another root device), it belongs to the root filesystem.

Example:

df -h /srv/share/file1


2. Use stat to view the device ID

stat shows which device a file resides on.

stat /path/to/file

Look for the Device: field. Files on different filesystems will have different device IDs.

Methods to Change Hostname via iDRAC

  • RACADM Command (Recommended):
    1. SSH into your iDRAC IP address.
    2. Run the command: racadm set System.ServerOS.HostName <new_name>.
    3. Reset the iDRAC for changes to appear in the web interface.
  • iDRAC Service Module (iSM): Installing the iSM on the operating system allows the iDRAC to automatically detect and populate the server's hostname.
  • System Setup (BIOS):
    1. Reboot the server and press F2 to enter System Setup.
    2. Select System BIOS or iDRAC Settings to update identification information