02-08-2002
"had not given /usr it's own partition" This is always a matter of choice. /usr does not have to be it's own partition. Putting /usr on a second disk may be more confusing than leaving it where it is. If you were moving /var to a different disk, not as bad but to move /usr requires you boot up off of a cdrom into single user.
"The www files are all under /usr" Are they under /usr in their own directory? If so, that is what you should move to it's own partition (leaving /usr where it is). If they are in /usr/www/, then boot into single user and tar the /usr/www/* and put it on the second disk. Then create a link from /usr/www to the new directory on the second disk (/www). This is also better for security reasons not to have the web pages (and cgi-scripts) loaded on /usr. You probably don't have to change the Apach config files at all for this (although that is also easy enough)
6 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Need to change the partitions on a SCSI drive with Nextstep.
df shows
filesystem kbytes used avail cap mounted on
/dev/sd0a 2051824 231924 13% /
/dev/sd0b 998332 9 0% /Vol2
/dev/sd0c 998332 9 0% /Vol3
/dev/sd0d 998332 9 0% /Vol4
/dev/sd0e 998332 9 0% /Vol5... (3 Replies)
Discussion started by: Mace
3 Replies
2. Solaris
Hello,
Is it possible to repartition hard drive on Solaris10 without deleting all the content of the drive? I have a workstation with 40G drive that has two partitions 4G and 36G. The big partition is allocated for /export/home and small for everything else (don't ask me why, I did not set it up... (1 Reply)
Discussion started by: pn8830
1 Replies
3. UNIX for Advanced & Expert Users
Sorry that this is slightly OT, but in my defence, I intend to install Linux (and probably others).
I just bought a new computer with Windows Vista preinstalled; and though there is no love between me and MS, I would like to keep it (I paid for it after all). I have 2 x 500GB HDD. The extra... (1 Reply)
Discussion started by: koppe
1 Replies
4. Solaris
Version: solaris 10 x86
I just got a western digital external harddrive formated with fat 32. this drive came with some setup files which is meant for windows or mac.
I want to reformat and partition this drive into two ( for solaris and windows) such that the setup files will still be there... (2 Replies)
Discussion started by: seyiisq
2 Replies
5. Solaris
Dear all,
This metaset stuff drive me crazy.
The story begin with the Solaris 8 upgrade....
We have a pair of Solaris 8 with Sun Cluster 3.1, to prevent a long downtime, the Live Upgrade was chosen. As metadb cannot use LU to upgrade directly, we remove the diskset before upgrade, and put it... (0 Replies)
Discussion started by: donaldfoo
0 Replies
6. Ubuntu
Good evening,
i don't know if this is the right section, so forgive me if it's wrong.
i have an Asus Gl503v in dual boot w10-ubuntu18.
hard disk is hybrid ssd-hhd. w10 is the native system and it is on ssd. I partitioned the hdd left a part ntfs and a part ext4.
In the ext4 part i created... (15 Replies)
Discussion started by: Marcov
15 Replies
LEARN ABOUT ULTRIX
installboot
installboot(1M) installboot(1M)
NAME
installboot - install bootblocks in a disk partition
SYNOPSIS
installboot bootblk raw-disk-device
The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition.
The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be
found using the -i option of uname(1).
The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead.
bootblk The name of the bootblock code.
raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read-
able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive.
Example 1: Installing UFS Boot Block
To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use:
example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t0d0s0
/usr/platform/platform-name/lib/fs/ufs
directory where ufs boot objects reside.
/platform/platform-name/ufsboot
second level program to boot from a disk or CD
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5)
WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device.
11 Apr 2005 installboot(1M)