Bug #2497

DFBSD v3.2.2-RELEASE - Available space not correctly computed after 'hammer volume-add'

Added by tuxillo over 1 year ago. Updated 7 months ago.

Status:ClosedStart date:01/21/2013
Priority:NormalDue date:
Assignee:tuxillo% Done:

100%

Category:-
Target version:3.6.1

Description

Hi,

After hammer volume-add it seems that the available space isn't computed correctly.

testbox2# df -h
Filesystem Size Used Avail Capacity Mounted on
ROOT 17G 2.7G 14G 15% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/serno/QM00001.s1a 756M 177M 519M 25% /boot
/pfs/@@-1:00001 17G 2.7G 14G 15% /var
/pfs/@@-1:00002 17G 2.7G 14G 15% /tmp
/pfs/@@-1:00003 17G 2.7G 14G 15% /usr
/pfs/@@-1:00004 17G 2.7G 14G 15% /home
/pfs/@@-1:00005 17G 2.7G 14G 15% /usr/obj
/pfs/@@-1:00006 17G 2.7G 14G 15% /var/crash
/pfs/@@-1:00007 17G 2.7G 14G 15% /var/tmp
procfs 4.0K 4.0K 0B 100% /proc
testbox2# hammer volume-add /dev/da0s1a /
testbox2# df -h
Filesystem Size Used Avail Capacity Mounted on
ROOT 17G -6.0G 23G -35% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/serno/QM00001.s1a 756M 177M 519M 25% /boot
/pfs/@@-1:00001 17G -6.0G 23G -35% /var
/pfs/@@-1:00002 17G -6.0G 23G -35% /tmp
/pfs/@@-1:00003 17G -6.0G 23G -35% /usr
/pfs/@@-1:00004 17G -6.0G 23G -35% /home
/pfs/@@-1:00005 17G -6.0G 23G -35% /usr/obj
/pfs/@@-1:00006 17G -6.0G 23G -35% /var/crash
/pfs/@@-1:00007 17G -6.0G 23G -35% /var/tmp
procfs 4.0K 4.0K 0B 100% /proc

Cheers,
Antonio Huete

History

#1 Updated by tuxillo 7 months ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to tuxillo

Grab!

#2 Updated by tuxillo 7 months ago

  • Target version set to 3.8.0

#3 Updated by tuxillo 7 months ago

  • Status changed from In Progress to Feedback
  • Target version changed from 3.8.0 to 3.6.1
  • % Done changed from 0 to 100

Should be fixed in 63eefcf7775a18787490dc9fff3f8ce6657015af.

#4 Updated by tuxillo 7 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF