Menu

resizeing ufs file system problem

Help
2024-04-06
2024-04-20
  • WaffleCream

    WaffleCream - 2024-04-06

    Hello.
    We have a device that uses freebsd, these devices have the same hardware but their ssd capacity varies 120gb 240 gb 500 gb and 1 tb.

    I created an unattended installation file by editing the syslinux.cfg file, I created an image with the smallest disc 120 gb, I have no problem restoring, but the -r parameter cannot reformat by giving an unsupported file system error.
    my partitions in the image
    sda1 mbr 120gb
    sda2 ufs 108 gb
    sda 3 mbr 4.5 gb

    mbr partition is expanding but sda2 ufs partition is not expanding and is seen as free space.

    I plan to use this system to repair the system without the need for a technical staff.

    So how can I do this? I am not sure if I will succeed if I create these partitions in advance using prerun commands and operate with the k1 parameter, I can run it by adding disc selection to the group menu.

     
  • Steven Shiau

    Steven Shiau - 2024-04-20

    If you have used the option "-k1" and "-r", and it does not work. I believe the issue is on the file system itself, not the partition size.
    Actually I am not familiar with UFS on GNU/Linux. Do you have any tool on GNU/Linux that can resize UFS like resize2fs that deals with EXT2/3/4?
    If such a tool exists on GNU/Linux, I believe this issue can be solved.

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.