Re: Resizing not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> And I used the xfs_growfs /dev/mmcblk0p4.... and that did nothing.  I
> provided that as part of the first email that I sent.

Prior to resizing the filesystem, you need to resize the partition. 

Try:
growpart /dev/mmcblk0 4

Then:
xfs_growfs /dev/mmcblk0p4

I'll try to make it clearer on the wiki. Thanks for pointing it out. 

Paul


> 
> On Wed, Apr 5, 2017 at 6:56 AM Paul Whalen <pwhalen@xxxxxxxxxx> wrote:
> 
> >
> > Hi Rafael,
> >
> > ----- Original Message -----
> > > Does the xfs_growfs not do that?
> > >
> > > The process on the wiki page only has the resize process.
> > >
> > > Thanks,
> >
> > From the wiki[1]:
> >
> > # enlarge the 4th partition (this example uses mmcblk0)
> > growpart /dev/mmcblk0 4
> > # grow the fileystem to fill the available space
> > resize2fs /dev/mmcblk0p4
> > # for the server image (which uses xfs)
> > xfs_growfs /dev/mmcblk0p4
> >
> >
> > Paul
> >
> > [1] -
> > https://fedoraproject.org/wiki/Architectures/ARM/F26/Installation#FAQ
> >
> > >
> > > Rafael
> > > On Wed, Apr 5, 2017 at 6:35 AM Peter Robinson < pbrobinson@xxxxxxxxx >
> > wrote:
> > >
> > >
> > > On Tue, Apr 4, 2017 at 2:18 AM, Rafael Leiva-Ochoa < spawn@xxxxxxxxxxx >
> > > wrote:
> > > > Hi Everyone,
> > > >
> > > > I have a Raspberry Pi 3 running a 64GB card. After installing Fedora 25
> > > > Server, I tried using the xfs_growfs command to enlarge the partition.
> > But,
> > > > it does not work. I have done this before on my other Pi's with no
> > > > problems.
> > > > Restarting did not help. Any ideas?
> > >
> > > Did you expand the partition first?
> > >
> > > PS re-forwarding the same email is not useful, you'll likely just get
> > > more ignored next time!
> > >
> > > > Here is the out of my Pi:
> > > >
> > > > [root@localhost ~]# df -H
> > > >
> > > > Filesystem Size Used Avail Use% Mounted on
> > > >
> > > > devtmpfs 451M 0 451M 0% /dev
> > > >
> > > > tmpfs 509M 13k 509M 1% /dev/shm
> > > >
> > > > tmpfs 509M 435k 509M 1% /run
> > > >
> > > > tmpfs 509M 0 509M 0% /sys/fs/cgroup
> > > >
> > > > /dev/mmcblk0p4 3.0G 2.1G 965M 68% /
> > > >
> > > > /dev/mmcblk0p2 479M 321M 144M 70% /boot
> > > >
> > > > tmpfs 102M 0 102M 0% /run/user/0
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]# lsblk
> > > >
> > > > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
> > > >
> > > > mmcblk0 179:0 0 59.5G 0 disk
> > > >
> > > > ├─mmcblk0p4 179:4 0 2.8G 0 part /
> > > >
> > > > ├─mmcblk0p2 179:2 0 488M 0 part /boot
> > > >
> > > > ├─mmcblk0p3 179:3 0 488M 0 part [SWAP]
> > > >
> > > > └─mmcblk0p1 179:1 0 29M 0 part
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]# xfs_growfs /dev/mmcblk0p4
> > > >
> > > > meta-data=/dev/mmcblk0p4 isize=512 agcount=4, agsize=183104 blks
> > > >
> > > > = sectsz=512 attr=2, projid32bit=1
> > > >
> > > > = crc=1 finobt=1 spinodes=0 rmapbt=0
> > > >
> > > > = reflink=0
> > > >
> > > > data = bsize=4096 blocks=732416, imaxpct=25
> > > >
> > > > = sunit=0 swidth=0 blks
> > > >
> > > > naming =version 2 bsize=4096 ascii-ci=0 ftype=1
> > > >
> > > > log =internal bsize=4096 blocks=2560, version=2
> > > >
> > > > = sectsz=512 sunit=0 blks, lazy-count=1
> > > >
> > > > realtime =none extsz=4096 blocks=0, rtextents=0
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]#
> > > >
> > > > [root@localhost ~]# df -H
> > > >
> > > > Filesystem Size Used Avail Use% Mounted on
> > > >
> > > > devtmpfs 451M 0 451M 0% /dev
> > > >
> > > > tmpfs 509M 13k 509M 1% /dev/shm
> > > >
> > > > tmpfs 509M 435k 509M 1% /run
> > > >
> > > > tmpfs 509M 0 509M 0% /sys/fs/cgroup
> > > >
> > > > /dev/mmcblk0p4 3.0G 2.1G 965M 68% /
> > > >
> > > > /dev/mmcblk0p2 479M 321M 144M 70% /boot
> > > >
> > > > tmpfs 102M 0 102M 0% /run/user/0
> > > >
> > > > [root@localhost ~]#
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Rafael
> > > >
> > > >
> > > > _______________________________________________
> > > > arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> > > > To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > > >
> > >
> > > _______________________________________________
> > > arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> > > To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > >
> >
> 
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux