anthony0030

Members
  • Posts

    6
  • Joined

  • Last visited

About anthony0030

  • Birthday 04/17/1998

Converted

  • Gender
    Male

anthony0030's Achievements

Noob

Noob (1/14)

2

Reputation

  1. Hi @DoINeedATag, I have some sugestions for the script. 1) Add it to a git repo on github (for version controll) 2) Add console loggs before and after the dfrag happens to see fragmentation befor and after.
  2. It’s definitely doing something. Disk one is down to 64.13% Update after running it again for 5 hours: It is down to 28,44% One more time and I think it will be fine. Update after running it again for 5 hours: It is down to 9.76%
  3. I am running it again because after the run i still get. root@Tower:~# xfs_db -r /dev/md1p1 xfs_db> Frag command Frag not found xfs_db> frag actual 123304, ideal 35055, fragmentation factor 71.57% Note, this number is largely meaningless. Files on this filesystem average 3.52 extents per file xfs_db>
  4. Hi @DoINeedATag, xfs_frs is running when the script starts, and my drives look like this: root@Tower:~# blkid | grep xfs /dev/sdf1: UUID="" BLOCK_SIZE="4096" TYPE="xfs" PARTUUID="" /dev/sdd1: UUID="" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="" /dev/md2p1: UUID="" BLOCK_SIZE="512" TYPE="xfs" /dev/md1p1: UUID="" BLOCK_SIZE="4096" TYPE="xfs" /dev/sdg1: UUID="" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="" /dev/sde1: UUID="" BLOCK_SIZE="4096" TYPE="xfs" PARTUUID="" /dev/md3p1: UUID="" BLOCK_SIZE="512" TYPE="xfs" I tried ruinniong the script and it was blocked by the parity, I disabled the setting that waits for parity and now it seems to be doing something. Search for HDDs... Found HDD with id md1p1 (added) Found HDD with id md2p1 (added) Found HDD with id md3p1 (added) Content of /tmp/.xfs_mtab: /dev/md1p1 /mnt/disk1 xfs rw,noatime,nouuid,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0 /dev/md2p1 /mnt/disk2 xfs rw,noatime,nouuid,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0 /dev/md3p1 /mnt/disk3 xfs rw,noatime,nouuid,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0 I am going to check back in 2 hours to see if it did anything. Thanks for your help so far
  5. I tried running the script in the background and it looks like nothing happens Script Starting Mar 28, 2024 19:09.13 Full logs for this script are available at /tmp/user.scripts/tmpScripts/XFS Extended Defragmentation v0.3/log.txt Parity has device id sdf Search for HDDs... Script Finished Mar 28, 2024 19:09.13 I tried also disabeling defrag_only_sleep I am running unraid 6.12.8
  6. I would love to have a plugin like that!