- 论坛徽章:
- 0
|
原帖由 heeh 于 2007-4-18 13:46 发表\r\n\r\n你的意思是这样?\r\n#rm -rf /var/tmp\r\n#mkdir /opt/tmp\r\n#chmod 0755 /opt/tmp \r\n#chown root:sys /opt/tmp \r\n#ln -s /var/tmp /opt/tmp\r\n\r\n我作了.有问题 \r\n\r\nNo.\r\n\r\nThe issue is that \"inodes are used up on /var\". So, there must be a great deal of small files on the file system, probably, they are under /var/spool/mqueue. \r\n\r\nAssuming /var/spool/mqueue has a lot of small files. In order to migrate /var/spool/mqueue, you might do the following:\r\n1. bring down sendmail\r\n2. mkdir -p /opt/var.spool.mqueue\r\n3. cd /var/spool/mqueue; tar cf - . | (cd /opt/var.spool.mqueue; tar xf -)\r\n4. verify the data migration.\r\n5. if no issues, rm -r /var/spool/mqueue; ln -s /opt/var.spool.mqueue /var/spool/mqueue\r\n6. start sendmail |
|