Skip to contentSkip to conversation

Odd problem with Pure-ftpd on lvm volume.

linux-lvm James B. Byrne 2 participants 2 messages Jul 2, 2002 – Jul 4, 2002

lore
Share & tools
lore
#0 lore raw

OS RedHat7.3 Linux
lvm 1.0.3
pure-ftpd 1.0.11

I initially setup a logical volume with a capacity of 300 Mb. which is used to receive files transmitted via pure-ftpd. The initial space allocation was insufficient and I extended the lv by an additional 50 Mb. Now pure-ftp is reporting a "disk full error" when trying to upload files, however local users can add files to the lv without error.

I have absolutely no idea of where to go from here. It seems to me that either both should work, or neither should work, but not that one should fail and the other succeed. Any help or direction on how to investigate this would be appreciated.

Regards,
Jim
--- e-mail is NOT a secure channel

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757

Canada L8E 3C3

#1 lore raw
Quoted 10 lines · James B. Byrne

OS RedHat7.3 Linux
lvm 1.0.3
pure-ftpd 1.0.11

I initially setup a logical volume with a capacity of 300 Mb. which is used to receive files transmitted via pure-ftpd. The initial space allocation was insufficient and I extended the lv by an additional 50 Mb. Now pure-ftp is reporting a "disk full error" when trying to upload files, however local users can add files to the lv without error.

Quoted 4 lines

I have absolutely no idea of where to go from here. It seems to me that either both should work, or neither should work, but not that one should fail and the other succeed. Any help or direction on how to investigate this would be appreciated.

Did you just grow the LV?

You need to extend the FS using the respective FS resizing tool as well (resize2fs, resize_reiserfs, ...).

BTW: for ext2 the e2fsadm(8) command, which comes with LVM does both for you.

This doesn't really explain the local/remote difference unless:

- local users had root credentials avoiding the fs "reserved block count" to matter

- files uploaded where very large compared to the locally stored files

Quoted 16 lines

Regards,
Jim
--- e-mail is NOT a secure channel

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757

Canada L8E 3C3

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-