+ Post New Thread
Results 1 to 10 of 10
*nix Thread, Fog 0.27 resizable partition issues! in Technical; Hi All, I am nearing the time when I will need to image all my now non CC3 machines. Typically ...
  1. #1
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30

    Fog 0.27 resizable partition issues!

    Hi All,
    I am nearing the time when I will need to image all my now non CC3 machines. Typically I now notice a slight issue with my fog server. I have installe fog 0.27 and all appears OK until I try to upload a single partition NTFS resizable image. It fails after trying to resize the partition with an error like this...

    ftp_rename() [<a href='function.ftp-rename' >function.ftp-rename</a>: RNFR command failed in var/www/fog/service/Post_Stage2.php on line 133.

    having looked on line 133 it says...

    if (ftp_rename ( $ftp, $src, $dest ) || ftp_rename ( $ftp, $srcdd, $dest ))

    I can see that the renaming of the file is failing but not sure how I can fix this

    Does anyone have any suggestions or come across this before?

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,812
    Thank Post
    110
    Thanked 585 Times in 506 Posts
    Blog Entries
    1
    Rep Power
    225
    It looks like the error is coming from the ftp server. If thats the case it's probably the underlying filesystem thats causing the problem. I suspect you've got messed up permissions. Check that the fog user has full access to the /images folder/files/subfolders.

  3. Thanks to Geoff from:

    reggiep (27th July 2009)

  4. #3

    Join Date
    May 2009
    Location
    England
    Posts
    264
    Thank Post
    58
    Thanked 36 Times in 35 Posts
    Rep Power
    20
    Your not trying to ghost a stone computer are you?
    If not change ownership of the /images file to fog.

  5. Thanks to Potato-Peeler from:

    reggiep (27th July 2009)

  6. #4
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Now I know I need to chown for that but I'm not suer what the fog user is called. Is there a linux way to see who has ownership of folders so I could take it from there?

  7. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,812
    Thank Post
    110
    Thanked 585 Times in 506 Posts
    Blog Entries
    1
    Rep Power
    225
    Code:
    root@fog-storage:/images# ls -l
    total 13479228
    drwxrwxrwx 2 fog root       4096 2009-07-23 16:01 DellD505_Full_Sysprep_230709
    drwxrwxr-x 2 fog root       4096 2009-07-24 16:17 dev
    -rwxrwxrwx 1 fog root 5665436712 2009-07-15 12:27 Generic_IT_150709
    -rwxrwxrwx 1 fog root 2249057780 2009-07-22 14:40 hp_dx2400_base_ghost_curriclulum_060309
    drwxrwxrwx 2 fog root       4096 2009-07-24 16:16 HPDX2420_Complete_240709
    drwxrwxrwx 2 fog root       4096 2009-07-24 12:40 HPDX2420_Full_240709
    drwxr-xr-x 2 fog root       4096 2009-07-07 11:36 OFFPC01-Base-030709
    -rwxrwxrwx 1 fog root 5874706679 2009-07-14 10:11 ShuttleXPC-Full-140709

  8. #6
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    I have chowned the ownership so all images are owned by fog root but still the same error!

    I may go back to 0.26 for now.

  9. #7

    Join Date
    Dec 2009
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    I am having same trouble

    Did you find a solution?

  10. #8
    diggory's Avatar
    Join Date
    Sep 2008
    Location
    Bristol
    Posts
    85
    Thank Post
    36
    Thanked 11 Times in 10 Posts
    Rep Power
    14
    I'm having the same problem.
    I've checked a few things,
    The storage password and ftp config seem ok.
    I've watched fog create the image file in /images/dev

    However it seems when it comes to move and rename the image file to /images it come up with the rename error on the console of the machine uploading.

    I checked the right on the directories (/images and /images/dev)
    They were set correctly, but I ran thease commands just in case:
    Code:
    chown -R fog:root /images
    (Adds file ownership for fog and group ownership to root to all images dir and below).

    Still didn't work.
    The file seems to get deleted rather than moved.

    So, I've tried adding global write access (security risk of course) with:
    Code:
    chmod -R 777 /images
    This has worked on a small image upload (~2G), just trying a larger one (~30G)

    The specs of my system:
    Virtual machine, running debian5
    FOG version 0.29

  11. #9
    diggory's Avatar
    Join Date
    Sep 2008
    Location
    Bristol
    Posts
    85
    Thank Post
    36
    Thanked 11 Times in 10 Posts
    Rep Power
    14
    Ok I tried uploading a larger image - didn't work.
    However there were two other variables:
    The small image was a newly created one.
    The large image wasn't (existed before).

    The large image also has a "." in the file name.

  12. #10
    diggory's Avatar
    Join Date
    Sep 2008
    Location
    Bristol
    Posts
    85
    Thank Post
    36
    Thanked 11 Times in 10 Posts
    Rep Power
    14
    Looks like something must be corrupted with my installations or database - time to reinstall the server and FOG.

SHARE:
+ Post New Thread

Similar Threads

  1. Partition sizing
    By synaesthesia in forum Windows Server 2000/2003
    Replies: 3
    Last Post: 9th June 2009, 08:13 PM
  2. Formatting VM partition
    By sLiDeR in forum Thin Client and Virtual Machines
    Replies: 1
    Last Post: 23rd February 2009, 02:37 PM
  3. boot cd from a partition
    By browolf in forum Windows
    Replies: 8
    Last Post: 25th October 2008, 10:35 AM
  4. Boot Partition Problem
    By Simcfc73 in forum Windows
    Replies: 4
    Last Post: 19th July 2006, 10:13 AM
  5. Partition Problem
    By Michael in forum Windows
    Replies: 5
    Last Post: 15th December 2005, 11:23 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •