Remake a StorNext temp license (cvmkfs)

Ivan Lawrence -

Remake a StorNext temp license (cvmkfs)

see also: Rebuilding the 30 day StorNext temp SNFS license

 WARNING, this WILL delete ALL DATA that previously existed on that volume! 

This procedure assumes the license had already expired and the volume is not mounting. 

This will delete all data on the existing StorNext volume, remake the filesystem and start a 30 days temp license. 

This applies to SpycerBox Ultra / Flex, Venice and a single MDS. 

  1. Start a terminal session.
  2. "cd /usr/cvfs/config" to change to the StorNext config directory.
  3. "cat license.dat" to confirm the expiration date.
  4. "cat fsmlist" to view the filesystem name. Remember this for later.
    spycerbox . 0
  5. "rm license.dat" to remove the license.dat file.
  6. "cvadmin" and then "stop" to stop the filesystem.
  7. "cvmkfs (filesystem name)" This remakes the filesystem, substitute (filesystem name) with the name you got on step 4, example: cvmkfs spycerbox
  8. "service cvfs restart" This will restart the filesystem and mount the volume.
  9. "cat license.dat" to confirm the new expiration date.
  10. "df -h" to verify if the volume mounted, should look something like this: 
[root@sbultra /usr/cvfs/config]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1              57G  7.2G   47G  14% /
tmpfs                 5.9G   13M  5.9G   1% /dev/shm
/dev/cvfsctl1_spycerbox
                      12T  551G   11T   5% /media/spycer-vol0
Have more questions? Submit a request

0 Comments

Article is closed for comments.