UFS Increasing file system size errors. (growfs)

Reaperzx

Member

Reaction score: 2
Messages: 55

So the time arrived, when I ran out of space on my home file server and had to increase space again. I have done it once before under FreeBSD9 without problems, but now Under FreeBSD 12 p7 I got some errors. My data seems still intact, just the question of what errors I got and should I be worried?

I replaced the disks one by one in my RAID6 array, after that increased RAID set and Volume size (Areca specific).

After that I booted into single-user mode and did according to FreeBSD handbook:

Code:
gpart show da0
gpart recover da0
gpart resize -i 1 da0
growfs /dev/da0p1
growfs rezise gave some errors i did not write down, but were similar to following errors.

Running fsck gave errors:

Code:
g_dev_taste: make_dev_p() failed (gp->name=gptid/17f783eb-bcae-11e1-954a-001731f89896, error=17)
g_dev_taste: make_dev_p() failed (gp->name=ufsid/4fe4de89519c9f38, error=17)

save data to find alternate superblocks? y
add cylinder group check-hash protection? n

I got no errors after that, booted into multi-user and it seems to be working...

Code:
>df -h /dev/da0p1
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/da0p1     33T     16T     16T    49%    /usr/home
Only forum post I found with similar error messages, but I don't understand the relevance:
https://forums.freebsd.org/threads/strange-errors-on-boot-using-11-1.63815/

PS.
Used documentation for RAID expansion:
http://www.xtremesystems.org/forums/showthread.php?257737-Help-RAID-6-expansion
https://hardforum.com/threads/areca-users-capacity-expansion-question.1356904/
https://hardforum.com/threads/how-to-expand-an-areca-raid6-array.1655075/
https://www.freebsd.org/doc/handbook/disks-growing.html
 
OP
OP
R

Reaperzx

Member

Reaction score: 2
Messages: 55

Yes, please, not that interesting:

Code:
>gpart show da0
=>         34  70312498102  da0  GPT  (33T)
           34  70312498102    1  freebsd-ufs  (33T)
Also FDISK output:
Code:
# fdisk da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=4376750 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4376750 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT)
    start 1, size 4294967295 (2097151 Meg), flag 0
        beg: cyl 0/ head 0/ sector 2;
        end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,672
Messages: 30,574

Please stop using fdisk(1). Please show the exact errors from growfs(8). Also, try to do this when the filesystem is unmounted. It should be possible to do this with a "live" filesystem but it's safer to unmount it first.
 
OP
OP
R

Reaperzx

Member

Reaction score: 2
Messages: 55

Unfortuantely I did not write down growfs errors and that part is already done. I was in single user mode, in console with display and keyboard, so could not copy them either, they just scrolled off the screen.
 
Top