12-11-2007
Add more HDD
Hi,
You can install one more HDD in system and create Partition/FileSystem on that.
fdisk /dev/hdb
press m for help, n for create partition, t for changing FileSystem
Then after you can mount that HDD partition on some temperory location.
mount -t ext3 /dev/hdb1 /mnt/tmp
copy all of your existing /var/www content to /mnt/tmp. Example
cp -dpRf /var/www/* /mnt/tmp
After "successful" copy make sure to "sync" then, you can remove the contents of /var/www
To test you can unmount /mnt/tmp and mount /dev/hdb1 partition to /var/www location.
Finally create this mount point entry in /etc/fstab file
9 More Discussions You Might Find Interesting
1. Solaris
hi sirs
can u tell the difference between /var/log/syslogs and /var/adm/messages
in my working place i am having two servers.
in one servers messages file is empty and syslog file is going on increasing..
and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
2. Web Development
Hi, first post. I have no Linux experience. I have an e-friend that set me up a VPS and my website with Apache and FTP access so I could upload my files the way I do it regularly with my shared hosting. The OS in the VPS is Fedora by the way. Now the thing is:
http ://www.mydomain.com presents... (0 Replies)
Discussion started by: JPA
0 Replies
3. UNIX for Dummies Questions & Answers
what should be the permissions of the folder var/www in my ubuntu ?
I need it to be safe and at the same time I need ftp users to be able to edit it.
I was wondering if I should create a group with all permissions and add ftp users to this group in unix.
what's the standard way to do it ?... (4 Replies)
Discussion started by: aneuryzma
4 Replies
4. Solaris
what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os
please can any one respond quickly
thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies
5. Solaris
Hi,
Is the contents in /var/log/syslog and /var/adm/messages are same??
Regards (3 Replies)
Discussion started by: vks47
3 Replies
6. UNIX for Dummies Questions & Answers
hi
i need somme help to protect directory in debian with user and pass
var/www
thank's (6 Replies)
Discussion started by: azzeddine2005
6 Replies
7. Debian
Hi all.
I appologise this is my first post, I will gladly have a further look around to see if this has been posted elsewhere, but so far it has not, or it doesnt quite explain in full what I need. If anyone here can help me out, I would really appreciate this. I want to make sure I do this... (1 Reply)
Discussion started by: Pinkfloyd
1 Replies
8. Web Development
Hi all,
Exactly like my title says.
I am learning PHP and MySQL and I used to use /var/www/ to host (contain or store) my files (.htm/.php) for testing. I could configure, finally, apache2 to use ~/public_html instead.
Now I when I tried to use $_SERVER it still directs (I used echo to show... (7 Replies)
Discussion started by: faizlo
7 Replies
9. Shell Programming and Scripting
i try to find way to make string concatenation in csh ( sorry this is what i have )
so i found out i can't do :
set string_buff = ""
foreach line("`cat $source_dir/$f`")
$string_buff = string_buff $line
end
how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies
LEARN ABOUT FREEBSD
msdosfs
MSDOSFS(5) BSD File Formats Manual MSDOSFS(5)
NAME
msdosfs -- MS-DOS file system
SYNOPSIS
options MSDOSFS
DESCRIPTION
The msdosfs driver will permit the FreeBSD kernel to read and write MS-DOS based file systems.
The most common usage follows:
mount -t msdosfs /dev/ada0sN /mnt
where N is the partition number and /mnt is a mount point. Some users tend to create a /dos directory for msdosfs mount points. This helps
to keep better track of the file system, and make it more easily accessible.
It is possible to define an entry in /etc/fstab that looks similar to:
/dev/ada0sN /dos msdosfs rw 0 0
This will mount an MS-DOS based partition at the /dos mount point during system boot. Using /mnt as a permanent mount point is not advised
as its intention has always been to be a temporary mount point for floppy and ZIP disks. See hier(7) for more information on FreeBSD direc-
tory layout.
SEE ALSO
mount(2), unmount(2), mount(8), mount_msdosfs(8), umount(8)
AUTHORS
This manual page was written by Tom Rhodes <trhodes@FreeBSD.org>.
BSD
October 1, 2013 BSD