03-01-2002
server harddisk upgrade
hi friends,
one of my clnts wants his Hard drive to be ugrded . He is currently using SCO unix 5.04 on a 4.3 Gig SCSI drive. He wants me to upgrd it to 18 Gigs . All he wants is that the data / programs / userfiles shall be intact. he has 3 user slices /user1, /user2 , /user3 presently and wants the same in the new one.
i want to kno how to copy back the entire contents of the old /user1 , and so on to the new one . i m sure just cp will not be able to copy the file permissions and user permissions also. also i want to kno if i can just copy the /etc/passwd and /etc/shadow file from the old to the new one so that the usernames and passwords dont have to be created in the new one .
any help or pointers will be highly appreciated
8 More Discussions You Might Find Interesting
1. AIX
I have some problem to add a fujitsu Model MAT3147NC on my Aix 5.1 Server. When i run the cfgmrg command and after de lspv command, i can see my disk but i think it's missing some drivers to get operational.
Thank's for your help. (0 Replies)
Discussion started by: sdulude01
0 Replies
2. UNIX for Dummies Questions & Answers
Hi, I need to employ someone who can manage a large UNIX/NT server upgrade, someone who can do technology refreshes and the like. I am not technical so I need help writing the spec- what experience should I be looking for? (0 Replies)
Discussion started by: Normanbates
0 Replies
3. SCO
please help me
i have two same server sco 5.0.6 and, one server os now not working
so i want to add same harddisk to my another same server ,after that i
can take backup it is so important please .
pankaj raval (6 Replies)
Discussion started by: pankajbraval
6 Replies
4. AIX
Hi
What are the steps to be followed when upgrading MQ version from 6 to 7 in aix server?
cbsdbprd01 # oslevel -s
5300-10-01-0921
cbsdbprd01 # lslpp -l | grep -i mq
mqm.base.runtime 6.0.2.1 COMMITTED WebSphere MQ Runtime for
mqm.base.samples 6.0.2.1 ... (0 Replies)
Discussion started by: samsungsamsung
0 Replies
5. AIX
how will you add new new HDD to server and explain the HDD installation procedure? (2 Replies)
Discussion started by: gopikumar
2 Replies
6. Solaris
Hi Experts,
we are planning to upgrade the End of life servers to new servers and from solaris 8/9 to 11. Server loads are minimum and not heavily loaded. After analysis we came to conclusion
to use the below. Can experts out there please let me know whether it make sense or any way we can... (3 Replies)
Discussion started by: sundba
3 Replies
7. Debian
I have a small server in work, essentially a desktop with Ubuntu Server 10.04 LTS. For the first time in it's life, I've started to get errors when running scripts involving large files.
So before I give up on it, I was thinking of maybe getting the newer version of Ubuntu Server 14.04.
I was... (4 Replies)
Discussion started by: Cludgie
4 Replies
8. UNIX for Beginners Questions & Answers
What happens if we perform a Native AIX TL Upgrade on a VIO server? I mean instead of updateios I logged into oem_setup_env and ran a update_all to a new TL. (2 Replies)
Discussion started by: wibhore
2 Replies
SD(4) Linux Programmer's Manual SD(4)
NAME
sd - driver for SCSI disk drives
SYNOPSIS
#include <linux/hdreg.h> /* for HDIO_GETGEO */
#include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */
CONFIGURATION
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the parti-
tion on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive.
SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_num-
ber is the number of the physical drive in order of detection, and partition_number is as follows:
+3 partition 0 is the whole drive
partitions 1-4 are the DOS "primary" partitions
partitions 5-8 are the DOS "extended" (or "logical") partitions
For example, /dev/sda will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and /dev/sdb3 will have
major 8, minor 19, and will refer to the third DOS "primary" partition on the second SCSI drive in the system.
At this time, only block devices are provided. Raw devices have not yet been implemented.
DESCRIPTION
The following ioctls are provided:
HDIO_GETGEO
Returns the BIOS disk parameters in the following structure:
struct hd_geometry {
unsigned char heads;
unsigned char sectors;
unsigned short cylinders;
unsigned long start;
};
A pointer to this structure is passed as the ioctl(2) parameter.
The information returned in the parameter is the disk geometry of the drive as understood by DOS! This geometry is not the physical
geometry of the drive. It is used when constructing the drive's partition table, however, and is needed for convenient operation of
fdisk(1), efdisk(1), and lilo(1). If the geometry information is not available, zero will be returned for all of the parameters.
BLKGETSIZE
Returns the device size in sectors. The ioctl(2) parameter should be a pointer to a long.
BLKRRPART
Forces a reread of the SCSI disk partition tables. No parameter is needed.
The SCSI ioctl(2) operations are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl(2) fails with
the error EINVAL.
FILES
/dev/sd[a-h]
the whole device
/dev/sd[a-h][0-8]
individual block partitions
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2017-09-15 SD(4)