1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Disk check (dcl) reports Volume not dirty (?)

Discussion in 'Asuswrt-Merlin' started by Chuckles67, Jun 4, 2020.

  1. Chuckles67

    Chuckles67 Occasional Visitor

    Joined:
    Apr 22, 2017
    Messages:
    49
    Location:
    California
    I have a USB 2TB hard drive formatted with EXT4 connected to Asus AC66U-B1 with Merlin 384.17.

    I formatted the 2TB hard drive as EXT4 on a Mac - the router amtm command fd would not format this drive due to 2TB size.

    I used amtm (sw) to install a swap drive of 2GB - the swap memory is seen in the router GUI (Tools > Memory - Swap 0.00 / 2048.00 MB). So far so good.

    I installed the disk check tool (dc) using amtm. If I reboot the router I see this in the log:
    Code:
    Checking boot region...
     Volume not dirty. Refusing to repair in 'automatic-repair' mode.
     Thu Jun  4 07:04:00 DST 2020 Disk check done on /dev/sda1
    Should I be concerned with this? What does "volume not dirty" mean?
     
    Last edited: Jun 4, 2020
  2. Jack Yaz

    Jack Yaz Part of the Furniture

    Joined:
    Apr 20, 2017
    Messages:
    3,836
    That's a good thing!
     
  3. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    12,114
    Location:
    UK
    It means that the router has no reason to think that there's anything wrong with the disk so it's not going to waste time checking it unnecessarily. If you think there's something wrong with the disk you will have use fsck.ext4's "force check" option.
     
  4. Chuckles67

    Chuckles67 Occasional Visitor

    Joined:
    Apr 22, 2017
    Messages:
    49
    Location:
    California
  5. Chuckles67

    Chuckles67 Occasional Visitor

    Joined:
    Apr 22, 2017
    Messages:
    49
    Location:
    California
    I changed from the 2TB USB hard drive to a 1TB drive formatted with amtm fd. Both disks are Western Digital USB3.0 units. The disk check for the 1TB drive reports:
    Code:
     Mon Jun 15 08:05:52 DST 2020 Probing 'ext4' on device /dev/sda1
     Running disk check v2.9, with command 'e2fsck -p' on /dev/sda1
     HDD: clean, 471/61046784 files, 4419221/244181967 blocks
     Mon Jun 15 08:05:57 DST 2020 Disk check done on /dev/sda1
    Good stuff.
     
  6. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    12,114
    Location:
    UK
    I just noticed that in your original post it said "Checking boot region..." (a fatfsck message) which indicates that it was formatted as FAT32 rather than the ext4 you thought it was. ;)
     
  7. Chuckles67

    Chuckles67 Occasional Visitor

    Joined:
    Apr 22, 2017
    Messages:
    49
    Location:
    California
    Thanks for looking at this Colin.

    Because amtm fd would not format the 2TB drive, I used this extfs utility to format the 2TB: https://www.paragon-software.com/us/home/extfs-mac/
    Even though the amtm generated swap drive worked (according to Tools) I was suspicious not being able to format using amtm fd.

    Now I've switched to the 1TB drive which amtm fd was able to format => all good :)
     
    ColinTaylor likes this.