Can't delete superfile
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?
"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
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)
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
- Posts: 1006
- Joined: Wed Jun 29, 2011 7:13 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest