Mon Aug 15, 2022 9:01 am
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.



Can't delete superfile

Questions related to node architecture, redundancy and system monitoring

Wed Sep 23, 2015 8:21 pm Change Time Zone

When trying to delete a superfile, I get the following error:

"Cannot delete <superfilename>:CDristributedSuperfile: Superfile <superfilename>: corrupt subfile file <subfilename> cannot be found

The subfile in this case was another superfile, if that matters. Seems like daliadmin is the way to go here, but when I do:

daliadmin <ip> delete <superfilename>

I get "can't connect to <superfilename>", so I gather my syntax is wrong, but I can't figure out what's correct.

How do I get rid of this file?
alex
 
Posts: 38
Joined: Wed Feb 25, 2015 4:06 pm

Thu Sep 24, 2015 2:42 pm Change Time Zone

Hi Alex,

Try the following command
[[email protected] ~]# /opt/HPCCSystems/bin/daliadmin <dali ip> checksuperfile <superfilename>

The output will look like this if its good..

Superfile <superfilename> OK - contains 0 subfiles

If it comes back as corrupt run the same command but tack “fix=true” at the end

Eg.

/opt/HPCCSystems/bin/daliadmin <dali ip> checksuperfile <superfilename> fix=true


Usage:

[[email protected] ~]# /opt/HPCCSystems/bin/daliadmin |grep check
checksuperfile <superfilename> [fix=true|false] -- check superfile links consistent and optionally fix
checksubfile <subfilename> -- check subfile links to parent consistent
[deletefiles=<true|false>]-- perform some checks on dali meta data an optionally fix or remove redundant info

HTH,

Bob (via Fernando)
bforeman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1006
Joined: Wed Jun 29, 2011 7:13 pm

Thu Sep 24, 2015 2:59 pm Change Time Zone

Thanks Bob/Fernando. That did the trick.
alex
 
Posts: 38
Joined: Wed Feb 25, 2015 4:06 pm


Return to System Health

Who is online

Users browsing this forum: No registered users and 1 guest

cron