11-11-2003
Repartitioning scsi drive in Nextstep
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
/dev/sd0f 998332 9 0% /Vol6
/dev/sd0g 998332 9 0% /Vol7
/private/vm/swapfile 2051824 231924 13% /private/vm/swapfile.front
I would like to a: delete partition g and add the space to partition f
or b: make g smaller and give this space to f.
I would also like to do this without disturbing the other partitions if possible.
I'm very new to this so please help in words of one syllable!
Mace
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm running SCO OS 505 on a Compaq proliant 1600, and my tape drive will just not work. It was working properly and whent to Sh?ts when I tried to get the cd rom working. I have uninstalled any configured tape drive and rebooted and then configured a tape drive and rebooted still nothing. I'm... (4 Replies)
Discussion started by: kikkin
4 Replies
2. UNIX for Dummies Questions & Answers
Adding another scsi drive, no name, it came with the instruction manual in japanese, so of no use. We need to format it, it only shows up as 14 gigs, when we know it is a 40 gig drive, but have no specs on the cyl, etc. Combing through faqs, one of my coworkers found a blurb that unix won't... (1 Reply)
Discussion started by: kymberm
1 Replies
3. Filesystems, Disks and Memory
I have an sco unix v/386 version 4.26 open server. I need to add a 2nd scsi hard drive. I don't know how to partition & format it as a bootable drive & mount it.
I know this is easy but I'm not familiar.
Thanks (1 Reply)
Discussion started by: bluebourbon
1 Replies
4. Filesystems, Disks and Memory
DG Aviion (intel h/w) R4.20MU04
I plugged two new drives into my SCSI array, and need instructions on how to configure the filesystems...I've worked on Solaris (on Sun HW) boxes in the past, never has the pleasure of doing it on a DG.
1) Must I reboot for the system to "see" the drives? When... (0 Replies)
Discussion started by: iwasbornin1970
0 Replies
5. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
6. Filesystems, Disks and Memory
I have 2 dead SCSI drives. Can anyone tell me a good way to repair the disks??? Please! (1 Reply)
Discussion started by: disturbe_d
1 Replies
7. SCO
Hello,
I'm having some issues with installing SCSI tape drive on SCO 5.0.6
hardware config shows the following adapters
%adapter 0xE800-0xE8FF 10 - type=alad ha=0 bus=0 id=7 fts=sto
%adapter 0x0170-0x0177 15 - type=IDE ctlr=secondary dvr=wd
%adapter - 3 - ... (3 Replies)
Discussion started by: ananth_ak
3 Replies
8. 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
9. Hardware
I've had a scsi hard drive, scsi tape drive, and cd rom working off an adaptec 29160 controller. Everything worked great until a few days ago. I begin getting tar format errors (running sco 5.0.6) on the tape drive and occasionally the entire system would hang up while trying to access data on... (0 Replies)
Discussion started by: powwm
0 Replies
10. Hardware
Hi i ahve a SCSI drive that it use to work but now is not working. The Sun machine can not read the drive. My question is there is any other way to get the data back from the SCSI drive? I think if i replace the chip board on teh SCSI drive it might help to just buy a new Board but there is any... (4 Replies)
Discussion started by: percel
4 Replies
PARTX(8) System Administration PARTX(8)
NAME
partx - tell the kernel about the presence and numbering of on-disk partitions
SYNOPSIS
partx [-a|-d|-P|-r|-s|-u] [-t type] [-n M:N] [-] disk
partx [-a|-d|-P|-r|-s|-u] [-t type] partition [disk]
DESCRIPTION
Given a device or disk-image, partx tries to parse the partition table and list its contents. It can also tell the kernel to add or remove
partitions from its bookkeeping.
The disk argument is optional when a partition argument is provided. To force scanning a partition as if it were a whole disk (for example
to list nested subpartitions), use the argument "-" (hyphen-minus). For example:
partx --show - /dev/sda3
This will see sda3 as a whole-disk rather than as a partition.
partx is not an fdisk program - adding and removing partitions does not change the disk, it just tells the kernel about the presence and
numbering of on-disk partitions.
OPTIONS
-a, --add
Add the specified partitions, or read the disk and add all partitions.
-b, --bytes
Print the SIZE column in bytes rather than in human-readable format.
-d, --delete
Delete the specified partitions or all partitions.
-g, --noheadings
Do not print a header line with --show or --raw.
-l, --list
List the partitions. Note that all numbers are in 512-byte sectors. This output format is DEPRECATED in favour of --show. Do not
use it in newly written scripts.
-n, --nr M:N
Specify the range of partitions. For backward compatibility also the format M-N is supported. The range may contain negative num-
bers, for example --nr -1:-1 means the last partition, and --nr -2:-1 means the last two partitions. Supported range specifications
are:
M Specifies just one partition (e.g. --nr 3).
M: Specifies the lower limit only (e.g. --nr 2:).
:N Specifies the upper limit only (e.g. --nr :4).
M:N Specifies the lower and upper limits (e.g. --nr 2:4).
-o, --output list
Define the output columns to use for --show, --pairs and --raw output. If no output arrangement is specified, then a default set is
used. Use --help to get list of all supported columns. This option cannot be combined with the --add, --delete, --update or --list
options.
-P, --pairs
List the partitions using the KEY="value" format.
-r, --raw
List the partitions using the raw output format.
-s, --show
List the partitions. The output columns can be selected and rearranged with the --output option. All numbers (except SIZE) are in
512-byte sectors.
-t, --type type
Specify the partition table type.
--list-types
List supported partition types and exit.
-u, --update
Update the specified partitions.
-S, --sector-size size
Overwrite default sector size.
-v, --verbose
Verbose mode.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
EXAMPLES
partx --show /dev/sdb3
partx --show --nr 3 /dev/sdb
partx --show /dev/sdb3 /dev/sdb
All three commands list partition 3 of /dev/sdb.
partx --show - /dev/sdb3
Lists all subpartitions on /dev/sdb3 (the device is used as whole-disk).
partx -o START -g --nr 5 /dev/sdb
Prints the start sector of partition 5 on /dev/sdb without header.
partx -o SECTORS,SIZE /dev/sda5 /dev/sda
Lists the length in sectors and human-readable size of partition 5 on /dev/sda.
partx --add --nr 3:5 /dev/sdd
Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd.
partx -d --nr :-1 /dev/sdd
Removes the last partition on /dev/sdd.
SEE ALSO
addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8)
AUTHORS
Davidlohr Bueso <dave@gnu.org>
Karel Zak <kzak@redhat.com>
The original version was written by Andries E. Brouwer <aeb@cwi.nl>.
ENVIRONMENT
LIBBLKID_DEBUG=all
enables libblkid debug output.
AVAILABILITY
The partx command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils
/util-linux/>.
util-linux December 2014 PARTX(8)