https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211000

--- Comment #2 from Dexuan Cui <de...@microsoft.com> ---
With the fix to Bug 210425, I get this when I resize the disk from 70GB to
80GB:

(After the resizing, I get this:)
[root@decui-b11 ~/bsd.git/sys]# diskinfo da1
diskinfo: da1: ioctl(DIOCGMEDIASIZE) failed, probably not a disk.
[root@decui-b11 ~/bsd.git/sys]# diskinfo da1
da1     512     85899345920     167772160       4096    0       10443   255    
63
[root@decui-b11 ~/bsd.git/sys]# gpart show da1
=>       40  146800560  da1  GPT  (80G)
         40  146800560       - free -  (70G)

[root@decui-b11 ~/bsd.git/sys]# camcontrol rescan 2:0:0
Re-scan of 2:0:0 was successful
[root@decui-b11 ~/bsd.git/sys]# camcontrol devlist
<Msft Virtual CD/ROM 1.0>          at scbus0 target 0 lun 0 (cd0,pass0)
<Msft Virtual Disk 1.0>            at scbus1 target 0 lun 0 (da0,pass1)
<Msft Virtual Disk 1.0>            at scbus2 target 0 lun 0 (da1,pass2)
[root@decui-b11 ~/bsd.git/sys]# gpart show da1
=>       40  146800560  da1  GPT  (80G)
         40  146800560       - free -  (70G)

We can see the "free" space remains the same to be the old 70GB.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to