[SOLVED] Formating time with XFS

    • [SOLVED] Formating time with XFS

      Hi everyone,

      Running OMV for one year or so, I've recently upgraded my server with an Adaptec 3408 raid card and 9To of storage (3x3To 5400RPM).
      It's formating my raid5 array for almost 3 days now and the Web GUI just show me "Initializing" during the whole time, in the status of my FS.

      So I came to wonder if the time spent in formating the whole array isn't a bit too long. Is there a way to look at the formarting progress via parted or something like that ?

      The post was edited 2 times, last by Hellow ().

    • Re: Formating time with XFS

      Check if the mkfs command is running:

      Source Code

      1. ps ax | grep mkfs


      You may also check

      Source Code

      1. ps ax | grep omv-initfs


      Finally there is a log file at /var/log/openmediavault/omv-initfs@xxxxxxxx.log where xxxxxx should be the device name like _dev_sda (/dev/sda => _dev_sda) which may contain some useful informations.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Re: Formating time with XFS

      Thanks for the reply.

      Both are running :

      Source Code

      1. root@OMV:~# ps ax | grep mkfs
      2. 21224 pts/0 S+ 0:00 grep mkfs
      3. root@OMV:~# ps ax | grep omv-initfs
      4. 21270 pts/0 S+ 0:00 grep omv-initfs


      And here's what I get in the log :

      Source Code

      1. Command line arguments=-b -t xfs -L Raid /dev/sda
      2. GPT data structures destroyed! You may now partition the disk using fdisk or
      3. other utilities.
      4. Creating new GPT entries.
      5. Disk /dev/sda: 11702108160 sectors, 5.4 TiB
      6. Logical sector size: 512 bytes
      7. Disk identifier (GUID): 09D5EB54-ACBA-4CCC-92C2-9E59F5958510
      8. Partition table holds up to 128 entries
      9. First usable sector is 34, last usable sector is 11702108126
      10. Partitions will be aligned on 2048-sector boundaries
      11. Total free space is 2014 sectors (1007.0 KiB)
      12. Number Start (sector) End (sector) Size Code Name
      13. 1 2048 11702108126 5.4 TiB 8300
      14. The operation has completed successfully.
      15. meta-data=/dev/sda1 isize=256 agcount=6, agsize=268435455 blks
      16. = sectsz=512 attr=2, projid32bit=0
      17. data = bsize=4096 blocks=1462763259, imaxpct=5
      18. = sunit=0 swidth=0 blks
      19. naming =version 2 bsize=4096 ascii-ci=0
      20. log =internal log bsize=4096 blocks=521728, version=2
      21. = sectsz=512 sunit=0 blks, lazy-count=1
      22. realtime =none extsz=4096 blocks=0, rtextents=0
      Display All


      I don't really catch this one as I'm more friendly with GUI interfaces. Mostly when it comes to drives managing.
    • Re: Formating time with XFS

      What about the following:

      Source Code

      1. ls -alh /tmp


      If there is a *.fail file (i think it should be named like (xxx@_dev_sda_.fail) please post the content.

      If there is nothing like this you can reboot the system because there is no mkfs command running which implies that the formating process has been finished.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Re: Formating time with XFS

      Sorry, I was on a trip back then.

      Here's the log:

      Source Code

      1. root@OMV:~# ls -alh /tmp
      2. total 2,4M
      3. drwxrwxrwt 4 root root 420 14 août 20:45 .
      4. drwxr-xr-x 22 root root 4,0K 5 août 22:09 ..
      5. -rw------- 1 root root 0 5 août 23:20 dkms.2VGEvWq8
      6. -rw------- 1 root root 0 5 août 23:19 dkms.4i3miXL2
      7. -rw------- 1 root root 0 5 août 23:19 dkms.5h6Py0qq
      8. -rw------- 1 root root 0 5 août 23:20 dkms.5yB267hg
      9. -rw------- 1 root root 0 5 août 23:20 dkms.a1tn75dp
      10. -rw------- 1 root root 0 5 août 23:20 dkms.BkSkns4n
      11. -rw------- 1 root root 0 5 août 23:19 dkms.EjwBrjPq
      12. -rw------- 1 root root 0 5 août 23:20 dkms.ODyTcSoy
      13. -rw------- 1 root root 0 5 août 23:20 dkms.QI0gYP5L
      14. -rw------- 1 root root 0 5 août 23:19 dkms.t73kT4wq
      15. -rw------- 1 root root 0 5 août 23:19 dkms.UYtu30mI
      16. -rw------- 1 root root 0 5 août 23:19 dkms.WLDoDn5N
      17. -rw------- 1 root root 0 5 août 23:19 dkms.XY9qYkey
      18. -rw------- 1 root root 0 5 août 23:19 dkms.ypr4oGJN
      19. -rw-r--r-- 1 openmediavault openmediavault 55 5 août 23:56 omv-initfs@_dev_ sda.build
      20. drwxr-xr-x 8 7900 7900 820 5 août 23:38 spl-0.6.0-rc8
      21. -rw-r--r-- 1 root root 445K 26 mars 21:21 spl-0.6.0-rc8.ta r.gz
      22. drwxr-xr-x 12 7900 7900 1,1K 5 août 23:44 zfs-0.6.0-rc8
      23. -rw-r--r-- 1 root root 1,9M 26 mars 21:20 zfs-0.6.0-rc8.ta r.gz
      Display All


      Server rebooted, my raid5 doesn't appear. As it using a GPT label, I tried to mklabel it in MSDOS format...
      So need to format it again :/


      UPDATE: I used GhostParted to format the whole array. It took less than 2 minutes to do its work. But by now, OMV doesn't recognize the FS in the proper section of the GUI.