Results 1 to 5 of 5

Thread: HELP! won't write to correct partition

  1. #1
    Banned
    Join Date
    Feb 2005
    Posts
    3

    HELP! won't write to correct partition

    My aim: I want to set up my machine as a server with the web directory in a partition that spans a 200 GB WD-HD (/dev/hdd1). I've got the OS and swap partitions, etc., on a 40 GB Fujitsu HD (/dev/hdc1, /dev/hdc2, etc.).

    My problem: When I write to /mnt/hdd1 (using FTP over SSH or Samba or whatever), the FTP client shows the written files as being written to /mnt/hdd1, BUT THEY'RE NOT REALLY BEING WRITTEN TO THAT PHYSICAL DRIVE (I think), because the /mnt/hdc1 partition gets filled up as I write the files. I "watch" this happening from the command line using #df, which shows that more and more space on /hdc1 is being used ... right up until it fills up.

    How can I fix this and ensure that I can write to my 200 GB partition on /dev/hdd1?

    There's a ton of other moves I've tried, and data I've gathered; but I won't post it all here unless I learn that it's relevant.

    Thanks!

  2. #2
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    In a house... hopefully
    Posts
    554
    ok... i had the simular problem on me small 4Gb drive... yes you can rub it in thats yours is bigger... ... what i did, was creat a small (and i mean small), and unused partion about 10Mb at the start of the drive... hence becoming the new hda1... which means you have to move everything down... but i dont know if this will work in your case... sorry...

  3. #3
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    How do you go about the actual write ?
    So, you boot into hdc(1 or 2), then hdd1 gets auto mounted. Or do you mount it manually. I guess you must have a dvd/cdrom on the first controleres first channel as hda.


    What does ...

    ]# mount

    have to say about what is actually mounted at the time, and where.

    Check your /etc/fstab file for a possible miss-configuration, or cross mapping.

    Check the config file(s) for those clients for some possible default that might be overriding things.

    But i suspect you probably have looked into those possibilities.

    When you use those clients, are you doing from another location(machine), or from the same box ?

    Just guesses


    jm
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  4. #4
    Banned
    Join Date
    Feb 2005
    Posts
    3
    jjmac, your question about mounting was right on. Using #mount got me on track: I didn't realize that I needed not just to access the partition through /mnt/hdd1 but also needed to issue the #mount /dev/hdd1 command. I've now changed my fstab to auto mount, and all works well. Thanks!

    I think before I changed this, the files were being written to the /mnt/hdd1 DIRECTORY in a different partition rather than to /dev/hdd1!!! (Idiotic, I know! But I'm a PHP developer finally getting around to running my own server, handicapped by a Window$ background.)

  5. #5
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    hehehe,

    Yes, it was writing to the /mnt/hdd1 directory in your hdc(1)or (2) drive (grin).


    >>
    ... I know! But I'm a PHP developer finally getting around to running my own server, handicapped by a Window$ background ...
    >>

    excuses, excuses ... hehehehe


    jm
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Threads

  1. Write permissions on root partition
    By cobra_brad in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 04-27-2008, 02:49 AM
  2. Can't get write access to my Windows partition
    By trant in forum General Support
    Replies: 2
    Last Post: 08-29-2007, 08:01 AM
  3. write permissions for ext3 hdd partition
    By redsnake in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 08-31-2005, 09:46 PM
  4. can't write to fat partition
    By tenui in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 09-20-2004, 06:05 AM
  5. Can't write to my Windows partition
    By Peterobe in forum General Support
    Replies: 2
    Last Post: 07-18-2003, 02:05 AM

Posting Permissions

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


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI  ATX RGB picture

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB

$69.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99



ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU picture

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU

$45.00