November 30, 2016 at 12:25 PM
Why not monthly cron the treedelete job? If it's the same directory every time.
On Wednesday, November 30, 2016 at 7:56:06 AM UTC-8, Kenneth Van Kley wrote:
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 10:56 AM
I have a customer who adds over 8 million files a day to our Isilon cluster. The retention on these files is only 3 months and then they purge them.Currently, they have a monthly chron job that runs from one of their NAS clients to do the "rm -rf" process, but it takes about 1.5 months to run for each month they purge.Obviously this isn't working, so they ask me to delete their files using TreeDelete instead which takes about 2-3 days to complete.Isilon cluster is 8 nodes, x410's.Customer is using RHEL VM's and NFSv4 to connect (very low latency from client to cluster).Since I don't want to be in the "monthly Treedelete" business, I'm trying to find a way to get the customer to be able to execute this on their own without actually having them login to the Isilon and run TreeDelete (security and scope issues).Any suggestions?
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
dd if=/dev/zero of=/file/on/cluster bs=1m count=this_many_megs
mke2fs -t ext4 /file/on/cluster # substitute your favorite filesystem here, mkfs.xfs, whatever - worth experimenting with if performance becomes an issue
mount -o loop,rw /file/on/cluster /mnt/point
If the output size is highly variable, so this uses too much space, you could dork around with doing this via LVM and expanding the filesystem as needed. Perhaps more complicated than it is worth.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
November 30, 2016 at 3:26 PM
I did a quick comparison between two alternative options of deleting files. Each test was against a separate directory containing 500,000 files.time rm -rf *real 64m52.374suser 0m2.812ssys 1m8.698stime perl -e 'unlink <*>'real 37m57.296suser 0m1.940ssys 1m4.042s
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 2:18 PM
Unfortunately not :( but it only took a couple weeks of dev time.. in between other jobs for them to complete. Also we developed this when V7 came out. I still do not think in the latest API for V8 they support treedelete commands but that was our reason for going SSH..
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 1:50 PM
OK, that's pretty slick... Is that something you can share?--
On Wednesday, November 30, 2016 at 12:13:26 PM UTC-6, Saker Klippsten wrote:
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 1:13 PM
We wrote a service that sits in between the end user which they interface via a web-app. The end user can browse and select local paths from their machine , or paste in a list of paths.The Web-Service uses Active Directory combined with Two Factor Authentication to ensure the End-User has permissions to run such a powerful command. In Addition We check ensure the End-User has permissions to access each submitted path. If they do not have permission it will toss an error up. This gets passed off to a service that runs on a Linux Machine which then after running its checks the above takes the path submitted and then ssh's into the cluster to submit the treedelete commands. On the Web-Page the End User can see the status of their submitted Jobs this gets updated every 5 min.I believe if my memory serves me correctly there being a limit to 10-15 treedelete commands that can be submitted. Our Service acts as a Queue and monitors this and submits more as necessary or holds onto it.
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 12:25 PM
Why not monthly cron the treedelete job? If it's the same directory every time.--
On Wednesday, November 30, 2016 at 7:56:06 AM UTC-8, Kenneth Van Kley wrote:
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If there were any subdirectories in there, perl didn't delete them, but rm did.
If the results are repeatable I'm surprised. I would expect the NFS roundtrip times to dominate the timing.
November 30, 2016 at 3:26 PM
I did a quick comparison between two alternative options of deleting files. Each test was against a separate directory containing 500,000 files.time rm -rf *real 64m52.374suser 0m2.812ssys 1m8.698stime perl -e 'unlink <*>'real 37m57.296suser 0m1.940ssys 1m4.042s
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 2:18 PM
Unfortunately not :( but it only took a couple weeks of dev time.. in between other jobs for them to complete. Also we developed this when V7 came out. I still do not think in the latest API for V8 they support treedelete commands but that was our reason for going SSH..
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 1:50 PM
OK, that's pretty slick... Is that something you can share?
On Wednesday, November 30, 2016 at 12:13:26 PM UTC-6, Saker Klippsten wrote:
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 1:13 PM
We wrote a service that sits in between the end user which they interface via a web-app. The end user can browse and select local paths from their machine , or paste in a list of paths.The Web-Service uses Active Directory combined with Two Factor Authentication to ensure the End-User has permissions to run such a powerful command. In Addition We check ensure the End-User has permissions to access each submitted path. If they do not have permission it will toss an error up. This gets passed off to a service that runs on a Linux Machine which then after running its checks the above takes the path submitted and then ssh's into the cluster to submit the treedelete commands. On the Web-Page the End User can see the status of their submitted Jobs this gets updated every 5 min.I believe if my memory serves me correctly there being a limit to 10-15 treedelete commands that can be submitted. Our Service acts as a Queue and monitors this and submits more as necessary or holds onto it.
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 12:25 PM
Why not monthly cron the treedelete job? If it's the same directory every time.
On Wednesday, November 30, 2016 at 7:56:06 AM UTC-8, Kenneth Van Kley wrote:
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Dan PrittsICPSR Computing & Network ServicesUniversity of Michigan
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
Sorry if I didn't make it clear. Both directories had a flat structure with 500,000 files (specifically to make the process simpler). No subdirs.
On Wed, Nov 30, 2016 at 3:23 PM, Dan Pritts <da...@umich.edu> wrote:
If there were any subdirectories in there, perl didn't delete them, but rm did.
If the results are repeatable I'm surprised. I would expect the NFS roundtrip times to dominate the timing.
November 30, 2016 at 3:26 PM
I did a quick comparison between two alternative options of deleting files. Each test was against a separate directory containing 500,000 files.time rm -rf *real 64m52.374suser 0m2.812ssys 1m8.698stime perl -e 'unlink <*>'real 37m57.296suser 0m1.940ssys 1m4.042s
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 2:18 PM
Unfortunately not :( but it only took a couple weeks of dev time.. in between other jobs for them to complete. Also we developed this when V7 came out. I still do not think in the latest API for V8 they support treedelete commands but that was our reason for going SSH..
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 1:50 PM
OK, that's pretty slick... Is that something you can share?
On Wednesday, November 30, 2016 at 12:13:26 PM UTC-6, Saker Klippsten wrote:
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 1:13 PM
We wrote a service that sits in between the end user which they interface via a web-app. The end user can browse and select local paths from their machine , or paste in a list of paths.The Web-Service uses Active Directory combined with Two Factor Authentication to ensure the End-User has permissions to run such a powerful command. In Addition We check ensure the End-User has permissions to access each submitted path. If they do not have permission it will toss an error up. This gets passed off to a service that runs on a Linux Machine which then after running its checks the above takes the path submitted and then ssh's into the cluster to submit the treedelete commands. On the Web-Page the End User can see the status of their submitted Jobs this gets updated every 5 min.I believe if my memory serves me correctly there being a limit to 10-15 treedelete commands that can be submitted. Our Service acts as a Queue and monitors this and submits more as necessary or holds onto it.
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
November 30, 2016 at 12:25 PM
Why not monthly cron the treedelete job? If it's the same directory every time.
On Wednesday, November 30, 2016 at 7:56:06 AM UTC-8, Kenneth Van Kley wrote:
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Dan PrittsICPSR Computing & Network ServicesUniversity of Michigan
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.