[OpenAFS] Empty partitions
Terry McCoy
terry@nd.edu
Tue, 07 Oct 2008 16:20:39 -0400
I have noticed when I move all the volumes from an AFS file server's
partition,
there appears to be "left over" crud.
Is it safe to delete the files and directories under the AFSIDat directory?
Or is there anorther way for the file server to clean out the partition?
See example below
[root@foobar]# vos listvol foobar vicepio
Total number of volumes on server foobar partition /vicepio: 0
Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0
[root@foobar]# df -h /vicepio
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 300G 3.1G 297G 2% /vicepio
[root@foobar]# cd /vicepio
[root@foobar# ls -la
total 232
drwxrwxrwx 4 root root 208896 Oct 5 07:11 .
drwxr-xr-x 30 root root 4096 Sep 12 16:07 ..
drwx------ 258 root root 12288 Sep 12 23:48 AFSIDat
drwx------ 2 root root 4096 Sep 12 16:08 Lock
[root@foobar]# ls -la Lock
total 212
drwx------ 2 root root 4096 Sep 12 16:08 .
drwxrwxrwx 4 root root 208896 Oct 5 07:11 ..
-rw------- 1 root root 0 Sep 12 16:08 vicepio
[root@foobar# ls -l AFSIDat
total 1028
drwx------ 3 root root 4096 Oct 5 07:07 =
drwx------ 3 root root 4096 Oct 5 07:03 ==
drwx------ 3 root root 4096 Oct 5 07:05 +
drwx------ 3 root root 4096 Oct 5 06:59 +=
drwx------ 3 root root 4096 Oct 5 07:03 0
drwx------ 3 root root 4096 Oct 5 07:10 =0
drwx------ 3 root root 4096 Oct 5 07:04 +0
drwx------ 3 root root 4096 Oct 5 07:04 0=
drwx------ 3 root root 4096 Oct 5 07:04 00
drwx------ 3 root root 4096 Oct 5 07:06 01
drwx------ 3 root root 4096 Oct 5 07:07 1
drwx------ 3 root root 4096 Oct 5 07:08 =1
drwx------ 3 root root 4096 Oct 5 07:01 +1
drwx------ 3 root root 4096 Oct 5 07:09 1=
drwx------ 3 root root 4096 Oct 5 07:10 10
drwx------ 3 root root 4096 Oct 5 07:04 11
drwx------ 3 root root 4096 Oct 5 06:59 2
drwx------ 3 root root 4096 Oct 5 06:54 2=
--
+-- -- -- -- -- -- -- -- -- -- -- -- -- +
| |
| Terry McCoy email: terry@nd.edu |
| Sr Systems Engineer phone: (574) 631-4274 |
| |
| Office of Information Technologies |
| 315 Information Technology Center |
| University of Notre Dame |
| Notre Dame, Indiana 46556 |
| |
| |
| perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' |
| |
+-- -- -- -- -- -- -- -- -- -- -- -- -- +