-
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!
-
Senior Member
registered user
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...
-
Senior Member
registered user
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
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.)
-
Senior Member
registered user
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
-
By cobra_brad in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 04-27-2008, 02:49 AM
-
By trant in forum General Support
Replies: 2
Last Post: 08-29-2007, 08:01 AM
-
By redsnake in forum MS Windows & New to Linux
Replies: 1
Last Post: 08-31-2005, 09:46 PM
-
By tenui in forum MS Windows & New to Linux
Replies: 2
Last Post: 09-20-2004, 06:05 AM
-
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
-
Forum Rules

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD
$41.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s
$55.00

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$339.00

Lot of 2 HP 4TB / 128MB SATA 7.2K RPM 3.5" Hard Drive MB4000GCWDC /ST4000NM0033
$125.00

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99

New Western Digital WD40EFPX 68C6CN0 4TB 3.5" SATA III Internal NAS Red Plus HDD
$137.59