Page 4 of 4 FirstFirst 1234
Results 61 to 67 of 67
  1. #61  
    Quote Originally Posted by mr.him View Post
    What do u mean ?
    My quick suggestion is to investigate using Application:MetaDoctor.

    .
  2. #62  
    verizon palm pre plus running webOS 1.4.5


    Code:
    palm-webos-device / # uname -a
    Linux palm-webos-device 2.6.24-palm-joplin-3430 #2 Thu Aug 26 07:46:58 UTC 2010 armv7l unknown
    Code:
    palm-webos-device / # fdisk -l
    
    Disk /dev/mmcblk0: 15.9 GB, 15925772288 bytes
    1 heads, 16 sectors/track, 1944064 cylinders
    Units = cylinders of 16 * 512 = 8192 bytes
    
            Device Boot      Start         End      Blocks   Id  System
    /dev/mmcblk0p1              65         576        4096   f0  Linux/PA-RISC boot
    Partition 1 does not end on cylinder boundary.
    /dev/mmcblk0p2             577        4672       32768   83  Linux
    Partition 2 does not end on cylinder boundary.
    /dev/mmcblk0p3            4673     1944064    15515136   8e  Linux LVM
    Partition 3 does not end on cylinder boundary.
    Code:
    palm-webos-device / # pvscan
      PV /dev/mmcblk0p3   VG store   lvm2 [14.79 GB / 16.00 MB free]
      Total: 1 [14.79 GB] / in use: 1 [14.79 GB] / in no VG: 0 [0   ]
    Code:
    palm-webos-device / # lvscan
      ACTIVE            '/dev/store/root' [456.00 MB] inherit
      ACTIVE            '/dev/store/var' [256.00 MB] inherit
      ACTIVE            '/dev/store/update' [56.00 MB] inherit
      ACTIVE            '/dev/store/log' [40.00 MB] inherit
      ACTIVE            '/dev/store/media' [13.86 GB] inherit
      ACTIVE            '/dev/store/swap' [128.00 MB] inherit
    Code:
    palm-webos-device / # cat /etc/fstab
    # <filesystem>		<mount point>		<type>	<options>					<dump>	<pass>
    rootfs	                   /			ext3	ro,suid,dev,exec,auto,nouser,async,noatime	1	1
    /dev/mapper/store-var	   /var			ext3	noatime,data=writeback				0	0
    /dev/mapper/store-log	   /var/log		ext3	noatime						0	0
    /dev/mapper/store-update  /var/lib/update	ext3	noauto,noatime					0	0
    proc			   /proc		proc	defaults					0	0
    devpts			   /dev/pts		devpts	mode=0620,gid=5					0	0
    tmpfs			   /tmp			tmpfs	size=64M,mode=1777				0	0
    tmpfs			   /var/run		tmpfs	size=16M,mode=1777				0	0
    tmpfs			   /media/ram		tmpfs	defaults					0	0
    /dev/mapper/store-media	   /media/internal	vfat	utf8,shortname=mixed,umask=0000			0	0
    /var/opt 		   /opt 		bind 	defaults,bind 					0 	0
    Code:
    palm-webos-device / # df -h
    Filesystem                Size      Used Available Use% Mounted on
    rootfs                  441.7M    418.0M     23.7M  95% /
    /dev/root                31.0M     11.3M     19.7M  36% /boot
    /dev/mapper/store-root  441.7M    418.0M     23.7M  95% /
    /dev/mapper/store-root  441.7M    418.0M     23.7M  95% /dev/.static/dev
    tmpfs                     2.0M    200.0k      1.8M  10% /dev
    /dev/mapper/store-var   248.0M    246.7M      1.2M  99% /var
    /dev/mapper/store-log    38.7M     21.7M     17.1M  56% /var/log
    tmpfs                    64.0M    172.0k     63.8M   0% /tmp
    tmpfs                    16.0M     52.0k     15.9M   0% /var/run
    tmpfs                   246.4M         0    246.4M   0% /media/ram
    /dev/mapper/store-media  13.9G      2.6G     11.3G  19% /media/internal
    /dev/mapper/store-var   248.0M    246.7M      1.2M  99% /opt
    cryptofs                 13.9G      2.6G     11.3G  19% /media/cryptofs
    /dev/mapper/store-var   248.0M    246.7M      1.2M  99% /usr/local

    as you can see my /dev/store/var volume is pretty full
  3. #63  
    Quote Originally Posted by freddysmith View Post
    verizon palm pre plus running webOS 1.4.5


    Code:
    palm-webos-device / # uname -a
    Linux palm-webos-device 2.6.24-palm-joplin-3430 #2 Thu Aug 26 07:46:58 UTC 2010 armv7l unknown
    Code:
    palm-webos-device / # fdisk -l
    
    Disk /dev/mmcblk0: 15.9 GB, 15925772288 bytes
    1 heads, 16 sectors/track, 1944064 cylinders
    Units = cylinders of 16 * 512 = 8192 bytes
    
            Device Boot      Start         End      Blocks   Id  System
    /dev/mmcblk0p1              65         576        4096   f0  Linux/PA-RISC boot
    Partition 1 does not end on cylinder boundary.
    /dev/mmcblk0p2             577        4672       32768   83  Linux
    Partition 2 does not end on cylinder boundary.
    /dev/mmcblk0p3            4673     1944064    15515136   8e  Linux LVM
    Partition 3 does not end on cylinder boundary.
    Code:
    palm-webos-device / # pvscan
      PV /dev/mmcblk0p3   VG store   lvm2 [14.79 GB / 16.00 MB free]
      Total: 1 [14.79 GB] / in use: 1 [14.79 GB] / in no VG: 0 [0   ]
    Code:
    palm-webos-device / # lvscan
      ACTIVE            '/dev/store/root' [456.00 MB] inherit
      ACTIVE            '/dev/store/var' [256.00 MB] inherit
      ACTIVE            '/dev/store/update' [56.00 MB] inherit
      ACTIVE            '/dev/store/log' [40.00 MB] inherit
      ACTIVE            '/dev/store/media' [13.86 GB] inherit
      ACTIVE            '/dev/store/swap' [128.00 MB] inherit
    Code:
    palm-webos-device / # cat /etc/fstab
    # <filesystem>		<mount point>		<type>	<options>					<dump>	<pass>
    rootfs	                   /			ext3	ro,suid,dev,exec,auto,nouser,async,noatime	1	1
    /dev/mapper/store-var	   /var			ext3	noatime,data=writeback				0	0
    /dev/mapper/store-log	   /var/log		ext3	noatime						0	0
    /dev/mapper/store-update  /var/lib/update	ext3	noauto,noatime					0	0
    proc			   /proc		proc	defaults					0	0
    devpts			   /dev/pts		devpts	mode=0620,gid=5					0	0
    tmpfs			   /tmp			tmpfs	size=64M,mode=1777				0	0
    tmpfs			   /var/run		tmpfs	size=16M,mode=1777				0	0
    tmpfs			   /media/ram		tmpfs	defaults					0	0
    /dev/mapper/store-media	   /media/internal	vfat	utf8,shortname=mixed,umask=0000			0	0
    /var/opt 		   /opt 		bind 	defaults,bind 					0 	0
    Code:
    palm-webos-device / # df -h
    Filesystem                Size      Used Available Use% Mounted on
    rootfs                  441.7M    418.0M     23.7M  95% /
    /dev/root                31.0M     11.3M     19.7M  36% /boot
    /dev/mapper/store-root  441.7M    418.0M     23.7M  95% /
    /dev/mapper/store-root  441.7M    418.0M     23.7M  95% /dev/.static/dev
    tmpfs                     2.0M    200.0k      1.8M  10% /dev
    /dev/mapper/store-var   248.0M    246.7M      1.2M  99% /var
    /dev/mapper/store-log    38.7M     21.7M     17.1M  56% /var/log
    tmpfs                    64.0M    172.0k     63.8M   0% /tmp
    tmpfs                    16.0M     52.0k     15.9M   0% /var/run
    tmpfs                   246.4M         0    246.4M   0% /media/ram
    /dev/mapper/store-media  13.9G      2.6G     11.3G  19% /media/internal
    /dev/mapper/store-var   248.0M    246.7M      1.2M  99% /opt
    cryptofs                 13.9G      2.6G     11.3G  19% /media/cryptofs
    /dev/mapper/store-var   248.0M    246.7M      1.2M  99% /usr/local

    as you can see my /dev/store/var volume is pretty full
    /var is only used for the operating system files, so you don't need to enlarge it.
    Arthur Thornton

    Former webOS DevRel Engineer at Palm, HP, and LG
    Former webOS app developer (built Voice Memos, Sparrow, and several homebrew apps and patches)
    Former blogger for webOS Nation and webOS Roundup
  4. #64  
    In this case, it is used for Optware command line installs too.

    MetaDoctor has a facility to increase /var to 2GB for this special use case of someone who is using lots of optware packages that have not yet been repackaged into Preware.

    Alternatively, remove some Optware packages with 'ipkg-opt remove'

    -- Rod
  5. #65  
    I actually ran into out of space issues with 'ipkg-opt install'.
    I'll take a look at MetaDoctor.
  6. #66  
    Well I browsed thru the MetaDoctor thread. Got to page 8 of 15 [youch].

    It looks like it will resize /var; do the dishes; change the little guys diaper and assorted other wonderful things

    But for a, relatively straightforward, logical volume resize I think I'll just go with the umount / lvreduce / lvextend / e2fsck / resize2fs / mkdosfs / mount routine.

    Actually I'm toying with mkfs.ext3 instead of mkdosfs .
  7. #67  
    Quote Originally Posted by freddysmith View Post
    Well I browsed thru the MetaDoctor thread. Got to page 8 of 15 [youch].

    It looks like it will resize /var; do the dishes; change the little guys diaper and assorted other wonderful things

    But for a, relatively straightforward, logical volume resize I think I'll just go with the umount / lvreduce / lvextend / e2fsck / resize2fs / mkdosfs / mount routine.

    Actually I'm toying with mkfs.ext3 instead of mkdosfs .
    Yep, anyone who knows how to use lvreduce has many different options.

    -- Rod
Page 4 of 4 FirstFirst 1234

Posting Permissions