Hi
I had copied /usr folder from one disk (mounted as /) to another disk (mounted as /usr now).
The old /usr folder was renamed to /usr.b.
So far the new /usr folder is working fine. I am removing the /usr.b folder from / disk.
Here is the information of disks:
FreeBSD version: 11.0-RELEASE-p12
The problem happened while I remove the /usr.b.
the error message from system is
While this error message displayed, the system frozen and I have to reboot it.
I have tried to do following:
1. boot to single user and run fsck. after that 2 files added to /usr/lost+found. but problem is not solved.
2. delete folders / files one by one. Seems the folder /usr.b/ports/www/quickie is the problem.
I had removed all other files in /usr.b and all files&folders under /usr.b/ports/www/quickie but while try to remove the folder quickie could make problem.
Please suggest.
I had copied /usr folder from one disk (mounted as /) to another disk (mounted as /usr now).
The old /usr folder was renamed to /usr.b.
So far the new /usr folder is working fine. I am removing the /usr.b folder from / disk.
Here is the information of disks:
Code:
/dev/ada0p2 19G 9.0G 8.2G 53% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/da0p1 19G 6.8G 11G 38% /usr
The problem happened while I remove the /usr.b.
the error message from system is
Code:
panic ufs_dirrem: bad link count 2 on parent
I have tried to do following:
1. boot to single user and run fsck. after that 2 files added to /usr/lost+found. but problem is not solved.
2. delete folders / files one by one. Seems the folder /usr.b/ports/www/quickie is the problem.
I had removed all other files in /usr.b and all files&folders under /usr.b/ports/www/quickie but while try to remove the folder quickie could make problem.
Please suggest.