Page 35 of 55 FirstFirst ... 25303132333435363738394045 ... LastLast
Results 681 to 700 of 1081
Like Tree13Likes
  1. carrel's Avatar
    Posts
    425 Posts
    Global Posts
    426 Global Posts
    #681  
    Quote Originally Posted by Xanadu73 View Post
    ipkg-opt install dosfstools


    M.
    Yes, but there is a /usr/sbin/fsck.vfat so I just don't need it. resizefat just wants to check the partition when it is done. So I just did it as the next step.
  2. #682  
    did it wipe out your usb when you did this? cant wait to hear how the performance is.
  3. #683  
    Quick side note:

    I got my headphone jack working. Hydrogen Peroxide. Yes, it's not the best thing to use on tiny copper contacts, but it does eat the heck out of organic material. The jack is working fine now, so I won't be turning my Pre- in after all.


    M.
  4. #684  
    Quote Originally Posted by graffix31 View Post
    did it wipe out your usb when you did this? cant wait to hear how the performance is.
    Nope My USB stayed in tack the entire process. However Back it up!
    Sprint pre -> Motorola Photon 4G
  5. #685  
    Has it been as good as anticipated with all the extra swap space?
  6. #686  
    Quote Originally Posted by Xanadu73 View Post
    Quick side note:

    I got my headphone jack working. Hydrogen Peroxide. Yes, it's not the best thing to use on tiny copper contacts, but it does eat the heck out of organic material. The jack is working fine now, so I won't be turning my Pre- in after all.


    M.
    That's nice! Too bad the thread is about clearing the swap memory, not the headphone jack
    Just remember: If I helped you, press the thanks button!

    Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, and 2 TouchPads (my Pre3 was stolen so it won't appear again here).
    Needs: Veer (anyone?)
    Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
    HomeBrew: meta-doctor and Messaging Plugins collaborator
    Twitter: @cesarneg
  7. #687  
    Quote Originally Posted by NuttyBunny View Post
    That's nice! Too bad the thread is about clearing the swap memory, not the headphone jack

    Ha! Yeah, I know. It's just I was getting ready to start with a fresh phone so I could have tested all this at The Doctor level. I thought I'd mention that's no longer an (immediate) option.


    M.
  8. #688  
    Quote Originally Posted by Xanadu73 View Post
    Ha! Yeah, I know. It's just I was getting ready to start with a fresh phone so I could have tested all this at The Doctor level. I thought I'd mention that's no longer an (immediate) option.


    M.
    I was hoping to see if someone would try to develop a 2.1 doctor that had the partitions resized. I would be up for it down the line but right now I have to stick with live trial and error until I kill my phone. I mean editing the file for partition sizes seems too easy but I could be wrong.
    Sprint pre -> Motorola Photon 4G
  9. #689  
    Quote Originally Posted by graffix31 View Post
    Has it been as good as anticipated with all the extra swap space?
    Every now and then i get a shutter but overall its much better. I can play angry birds without the phone lagging out. I can open 4 and 5 apps without any problems. The camera is smooth. I would say its completely worth it. Phone is much better overall.
    Sprint pre -> Motorola Photon 4G
  10. #690  
    awesome! i only have one phone so i am a little hesitant. i dont really know what i am doing tech. speaking although i can follow directions. prob wait a few more days before giving it shot. do you think a script can be put together for this once a proven method is found?
    thanks
    Last edited by graffix31; 06/22/2011 at 10:21 AM.
  11. carrel's Avatar
    Posts
    425 Posts
    Global Posts
    426 Global Posts
    #691  
    Quote Originally Posted by graffix31 View Post
    did it wipe out your usb when you did this? cant wait to hear how the performance is.
    No, USB works normally.

    The USB issues that were previously discussed were due to using swap files. The swap file was on /media/internal and in order to go into USB drive mode, the Pre must unmount /media/internal. But it can not unmount it when it is in use. So that was entirely expected. In this case, there are no swap files. We have simply changed the size of the existing swap partition and that has no effect on swap mode.

    --------------------
    edit: adding the part below. (I shouldn't reply before having coffee.)

    After writing the above I realized that you didn't ask if the USB drive works but if it "wiped". The answer is NO. I was able to resize and not lose any of my data. But that doesn't mean you shouldn't do a backup!!
    Last edited by carrel; 06/22/2011 at 10:40 AM. Reason: pre-caffeinated response
  12. carrel's Avatar
    Posts
    425 Posts
    Global Posts
    426 Global Posts
    #692  
    Quote Originally Posted by graffix31 View Post
    Has it been as good as anticipated with all the extra swap space?
    I've been going only about 10 hours so I can't claim to have very valid data yet. But my impressions so far are very positive. I still get small stutters, but they are quite small and not frequent. Otherwise she is quite snappy.

    I am running with a big (488M) swap and NO compcache and NO other kernel tweaks (sysctl.conf or LunaSysMgr).
  13. rksand's Avatar
    Posts
    151 Posts
    Global Posts
    152 Global Posts
    #693  
    I'm on step 3:

    /usr/sbin/****.vfat /dev/mapper/store-media (obviously, f s c k not ****)

    and got the following prompt:

    FATs differ but appear to be intact. Use which FAT ?
    1) Use first FAT
    2) Use second FAT
    ?

    Suggestions?

    lvdisplay:
    Code:
     --- Logical volume ---
      LV Name                /dev/store/root
      VG Name                store
      LV UUID                lG7RUW-KAa7-Mpsv-hKby-VdJZ-zKC7-qehjEf
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                456.00 MB
      Current LE             57
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       0
      Block device           254:0
    
      --- Logical volume ---
      LV Name                /dev/store/var
      VG Name                store
      LV UUID                PZlgjO-MyCW-RZwT-CImY-0y3G-UZbQ-TrQ26I
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                64.00 MB
      Current LE             8
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       1
      Block device           254:1
    
      --- Logical volume ---
      LV Name                /dev/store/update
      VG Name                store
      LV UUID                uBlp2Z-cxBa-wl2m-pSDa-uQvP-uyTr-YwRqJX
      LV Write Access        read/write
      LV Status              available
      # open                 0
      LV Size                16.00 MB
      Current LE             2
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       2
      Block device           254:2
    
      --- Logical volume ---
      LV Name                /dev/store/log
      VG Name                store
      LV UUID                8pEbsi-08e3-TAEp-6MGo-etYN-Gbh3-grMNqX
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                24.00 MB
      Current LE             3
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       3
      Block device           254:3
    
      --- Logical volume ---
      LV Name                /dev/store/media
      VG Name                store
      LV UUID                JLebSo-KhK8-We7b-dKwb-RI2Z-LSiu-bny5y9
      LV Write Access        read/write
      LV Status              available
      # open                 2
      LV Size                6.30 GB
      Current LE             806
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       4
      Block device           254:4
    
      --- Logical volume ---
      LV Name                /dev/store/swap
      VG Name                store
      LV UUID                uNCtS3-2hk5-kLjM-zscr-cF9v-BnOR-9PoIlV
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                104.00 MB
      Current LE             13
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       5
      Block device           254:5
    
      --- Logical volume ---
      LV Name                /dev/store/mojodb
      VG Name                store
      LV UUID                xsdmFT-yWLD-qIKQ-W48V-Dpb9-DGcY-N2gKSk
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                144.00 MB
      Current LE             18
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       6
      Block device           254:6
    
      --- Logical volume ---
      LV Name                /dev/store/filecache
      VG Name                store
      LV UUID                itdlw1-QhJA-aaqv-3MMD-Y13j-QrHt-adGksy
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                136.00 MB
      Current LE             17
      Segments               4
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       7
      Block device           254:7
    Last edited by rksand; 06/22/2011 at 01:14 PM. Reason: censor, added code
  14. carrel's Avatar
    Posts
    425 Posts
    Global Posts
    426 Global Posts
    #694  
    Quote Originally Posted by rksand View Post
    I'm on step 3:

    /usr/sbin/****.vfat /dev/mapper/store-media (obviously, f s c k not ****)

    and got the following prompt:

    FATs differ but appear to be intact. Use which FAT ?
    1) Use first FAT
    2) Use second FAT
    ?

    Suggestions?
    Hmmm, it didn't do that for me...
    Can you tell us EXACTLY what commands you ran prior to this?? Also it would be nice to see the output of these two commands:

    /usr/sbin/lvs --units m /dev/mapper/store-media
    /usr/sbin/parted /dev/mapper/store-media unit MiB print
    df /media/internal


    Those might help us figure something out, but no promises. It is likely that whichever option you choose, you will lose some files.

    Oh... BTW, I am adding a "-r" option to the fsck.vfat command. I'm not sure if this version needs it. Some versions do.
    Last edited by carrel; 06/22/2011 at 01:50 PM. Reason: defeat the censor bot
  15. rksand's Avatar
    Posts
    151 Posts
    Global Posts
    152 Global Posts
    #695  
    Quote Originally Posted by carrel View Post
    Hmmm, it didn't do that for me...
    Can you tell us EXACTLY what commands you ran prior to this?? Also it would be nice to see the output of these two commands:

    /usr/sbin/lvs --units m /dev/mapper/store-media
    /usr/sbin/parted /dev/mapper/store-media unit MiB print
    df /media/internal


    Those might help us figure something out, but no promises. It is likely that whichever option you choose, you will lose some files.

    Oh... BTW, I am adding a "-r" option to the fsck.vfat command. I'm not sure if this version needs it. Some versions do.
    I rebooted and ran the steps 1 and 2 via cut and paste:
    Code:
    /bin/resizefat /dev/mapper/store-media 6448M
    /usr/sbin/lvreduce -L 6448M /dev/mapper/store-media
    /usr/sbin/lvs --units m /dev/mapper/store-media
    Code:
      LV    VG    Attr   LSize    Origin Snap%  Move Log Copy%  Convert
      media store -wimao 6448.00M
    /usr/sbin/parted /dev/mapper/store-media unit MiB print
    Code:
    Model: Unknown (unknown)
    Disk /dev/mapper/store-media: 6448MiB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start  End  Size  Type  File system  Flags
    df /media/internal
    Code:
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/mapper/store-media
                           6994208   3439264   3554944  49% /media/internal

    Rerunning with -r gave the same result.
    Last edited by rksand; 06/22/2011 at 02:20 PM. Reason: tested with -r
  16. #696  
    Quote Originally Posted by rksand View Post
    I'm on step 3:

    /usr/sbin/****.vfat /dev/mapper/store-media (obviously, f s c k not ****)

    and got the following prompt:

    FATs differ but appear to be intact. Use which FAT ?
    1) Use first FAT
    2) Use second FAT
    ?

    Suggestions?

    lvdisplay:
    Code:
     --- Logical volume ---
      LV Name                /dev/store/root
      VG Name                store
      LV UUID                lG7RUW-KAa7-Mpsv-hKby-VdJZ-zKC7-qehjEf
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                456.00 MB
      Current LE             57
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       0
      Block device           254:0
    
      --- Logical volume ---
      LV Name                /dev/store/var
      VG Name                store
      LV UUID                PZlgjO-MyCW-RZwT-CImY-0y3G-UZbQ-TrQ26I
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                64.00 MB
      Current LE             8
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       1
      Block device           254:1
    
      --- Logical volume ---
      LV Name                /dev/store/update
      VG Name                store
      LV UUID                uBlp2Z-cxBa-wl2m-pSDa-uQvP-uyTr-YwRqJX
      LV Write Access        read/write
      LV Status              available
      # open                 0
      LV Size                16.00 MB
      Current LE             2
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       2
      Block device           254:2
    
      --- Logical volume ---
      LV Name                /dev/store/log
      VG Name                store
      LV UUID                8pEbsi-08e3-TAEp-6MGo-etYN-Gbh3-grMNqX
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                24.00 MB
      Current LE             3
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       3
      Block device           254:3
    
      --- Logical volume ---
      LV Name                /dev/store/media
      VG Name                store
      LV UUID                JLebSo-KhK8-We7b-dKwb-RI2Z-LSiu-bny5y9
      LV Write Access        read/write
      LV Status              available
      # open                 2
      LV Size                6.30 GB
      Current LE             806
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       4
      Block device           254:4
    
      --- Logical volume ---
      LV Name                /dev/store/swap
      VG Name                store
      LV UUID                uNCtS3-2hk5-kLjM-zscr-cF9v-BnOR-9PoIlV
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                104.00 MB
      Current LE             13
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       5
      Block device           254:5
    
      --- Logical volume ---
      LV Name                /dev/store/mojodb
      VG Name                store
      LV UUID                xsdmFT-yWLD-qIKQ-W48V-Dpb9-DGcY-N2gKSk
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                144.00 MB
      Current LE             18
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       6
      Block device           254:6
    
      --- Logical volume ---
      LV Name                /dev/store/filecache
      VG Name                store
      LV UUID                itdlw1-QhJA-aaqv-3MMD-Y13j-QrHt-adGksy
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                136.00 MB
      Current LE             17
      Segments               4
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Persistent major       254
      Persistent minor       7
      Block device           254:7
    Very interesting. I looks like it detected two different partitions on your pre. All the F S C K. V F A T does is scan the file system so really it doesnt matter which one you choose. Its not going to change anything.

    ####EDIT######
    Also you could try running it on /dev/store/media instead of through the mapper.
    Sprint pre -> Motorola Photon 4G
  17. rksand's Avatar
    Posts
    151 Posts
    Global Posts
    152 Global Posts
    #697  
    Quote Originally Posted by theXfactor2011 View Post
    Very interesting. I looks like it detected two different partitions on your pre. All the F S C K. V F A T does is scan the file system so really it doesnt matter which one you choose. Its not going to change anything.
    So I chose 1 and got this:
    Code:
    dosfsck 2.11, 12 Mar 2005, FAT32, LFN
    FATs differ but appear to be intact. Use which FAT ?
    1) Use first FAT
    2) Use second FAT
    ? 1
    Reclaimed 1 unused cluster (32768 bytes).
    Free cluster summary wrong (111093 vs. really 98808)
    1) Correct
    2) Don't correct
    ?
    I quit and didn't write and chose option 2 and:
    Code:
    FATs differ but appear to be intact. Use which FAT ?
    1) Use first FAT
    2) Use second FAT
    ? 2
    Reclaimed 40 unused clusters (1310720 bytes).
    Free cluster summary wrong (111093 vs. really 98808)
    1) Correct
    2) Don't correct
    ?
    Last edited by rksand; 06/22/2011 at 02:56 PM.
  18. carrel's Avatar
    Posts
    425 Posts
    Global Posts
    426 Global Posts
    #698  
    Quote Originally Posted by theXfactor2011 View Post
    Also you could try running it on /dev/store/media instead of through the mapper.
    FWIW, /dev/store/media is just a symlink to /dev/mapper/store
    Code:
    ls -l /dev/store/media
    lrwxrwxrwx    1 root     root            23 Jun 22 10:53 /dev/store/media -> /dev/mapper/store-media
  19. rksand's Avatar
    Posts
    151 Posts
    Global Posts
    152 Global Posts
    #699  
    Quote Originally Posted by carrel View Post
    FWIW, /dev/store/media is just a symlink to /dev/mapper/store
    Code:
    ls -l /dev/store/media
    lrwxrwxrwx    1 root     root            23 Jun 22 10:53 /dev/store/media -> /dev/mapper/store-media
    Funny how I got the same result with both.

    So I'm thinking go with option 1 and correct? ...Or not correct? Any opinions before I throw caution to the wind?
  20. carrel's Avatar
    Posts
    425 Posts
    Global Posts
    426 Global Posts
    #700  
    rksand, somehow your media partition got some corruption. It is hard to say if this resulted from this process or if it was pre-existing. I think you are going to lose some files with choosing either option, but you really are going to have to pick one and go for it. I did a little searching on "the google" and didn't find much. My best guess is option 1.

    In the future, I suggest that people do a fsck before starting this. Then if there are any issues, reboot and try again. I will update the previous post.

Posting Permissions