<div dir="ltr"><div>#cd /pfs<br>#ln -s @@-1:00004 test<br># hammer pfs-upgrade /pfs/test<br>pfs-upgrade of PFS#4 () failed: Directory not empty<br><br></div>Also this error.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-03-28 20:02 GMT+08:00 lhmwzy <span dir="ltr"><<a href="mailto:lhmwzy@gmail.com" target="_blank">lhmwzy@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"> uname -a:<br>DragonFly <a href="http://reli.com" target="_blank">reli.com</a> 3.6-RELEASE DragonFly v3.6.1.7.ga64375-RELEASE #0: Thu Mar 13 10:56:17 CST 2014 lhm@reli.com:/usr/obj/usr/src/sys/lhmwzy x86_64<br>
<br><div>
<br># mount<br>ROOT on / (hammer, local)<br>devfs on /dev (devfs, local)<br>/dev/da0s1a on /boot (ufs, local)<br>/pfs/@@-1:00001 on /var (null, local)<br>/pfs/@@-1:00002 on /tmp (null, local)<br>/pfs/@@-1:00003 on /usr (null, local)<br>
/pfs/@@-1:00008 on /home (null, local)<br>/pfs/@@-1:00005 on /usr/obj (null, local)<br>/pfs/@@-1:00006 on /var/crash (null, local)<br>/pfs/@@-1:00007 on /var/tmp (null, local)<br>procfs on /proc (procfs, local)<br><br># hammer info<br>
Volume identification<br> Label ROOT<br> No. Volumes 1<br> FSID 0155c2ba-a8f9-11e3-90ec-010c29f0c123<br> HAMMER Version 6<br>Big block information<br>
Total 14902<br>
Used 438 (2.94%)<br> Reserved 23 (0.15%)<br> Free 14441 (96.91%)<br>Space information<br> No. Inodes 212220<br> Total size 116G (125007036416 bytes)<br>
Used 3.4G (2.94%)<br> Reserved 184M (0.15%)<br> Free 113G (96.91%)<br>PFS information<br> PFS ID Mode Snaps Mounted on<br> 0 MASTER 0 /<br>
1 MASTER 7 /var<br> 2 MASTER 0 /tmp<br> 3 MASTER 7 /usr<br> 4 SLAVE - not mounted<br> 5 MASTER 0 /usr/obj<br> 6 MASTER 17 /var/crash<br>
7 MASTER 0 /var/tmp<br> 8 MASTER 15 /home<br><br> ll /pfs<br>total 0<br>lrwxr-xr-x 1 root wheel 10 Mar 20 10:08 home -> @@-1:00008<br>lrwxr-xr-x 1 root wheel 10 Mar 11 16:42 tmp -> @@-1:00002<br>
lrwxr-xr-x 1 root wheel 10 Mar 11 16:42 usr -> @@-1:00003<br>lrwxr-xr-x 1 root wheel 10 Mar 11 16:42 usr.obj -> @@-1:00005<br>lrwxr-xr-x 1 root wheel 10 Mar 11 16:42 var -> @@-1:00001<br>lrwxr-xr-x 1 root wheel 10 Mar 11 16:42 var.crash -> @@-1:00006<br>
lrwxr-xr-x 1 root wheel 10 Mar 11 16:42 var.tmp -> @@-1:00007<br><br></div><div>but <br> # hammer pfs-destroy /pfs/@@-1:00004<br>You have requested that PFS#4 () be destroyed<br>This will irrevocably destroy all data on this PFS!!!!!<br>
Do you really want to do this? y<br>Destroying PFS #4 () in 5 4 3 2 1.. starting destruction pass<br>pfs-destroy of PFS#4 failed: Directory not empty<br><br><br></div><div>Why and how to destroy PFS #4?<br></div></div>
</blockquote></div><br></div>