11-05-2001
I just started the RH7.0 rescue cd.
It found the scsi device.
But somehow I cannot use fdisk to view the partitiontable. When I use cat /proc/partitions then it says that there are a sda and sda4. But I cannot mount them. It says no valid device found.
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Do you have an alert system? meaning when your question has been answer, could be u guys send an email, informing the question has been answer, of someone did post a reply?
Thanks (2 Replies)
Discussion started by: owange_county
2 Replies
2. UNIX for Advanced & Expert Users
Good Day
I am running HP-UX 11.11 on a PA-RISC Server,when i login as a normal user and i type the command "whoami" i get the "Intruder Alert" on the display?
as follows
/triceps/triprod/bin $ whoami
Intruder alert.
/triceps/triprod/bin $
Why does this happen and must I be worried... (1 Reply)
Discussion started by: shawnbishop
1 Replies
3. HP-UX
Hello
I'm new in Hp-Ux, in all Unix System, we have a sun Server with HpUx 11 that send the follow message.
Host=cspkioor
Host Class=hpux B.11.11 9000/800
Host Address=192.168.228.7
Object=Summary
Object Class=SWAP
Parameter=SWPTotSwapUsedPercent
Parameter Value= 100... (2 Replies)
Discussion started by: bighand42
2 Replies
4. Shell Programming and Scripting
Hi friends
I have configuration files in one directory. I want to get an alert if any of the existing files gets modified or any new configuration file is present in the directory.
Please help me to design a script for this task.
Thanks in advance.
John (2 Replies)
Discussion started by: johnl
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need an alert to be triggered if any filesystem(imagine there are n no of filesystems) reaches more than 90%, it should send an alert to the mailbox stating which filesystem is at what percentage. How can I achieve this in unix?
Many thanks. (8 Replies)
Discussion started by: venkatesht
8 Replies
6. Shell Programming and Scripting
Hi all,
I have a task on my plate which is of high priority.
I need an automated email alert that checks FTP notices subdirectory on a daily basis and forwards any word files to a group of people. This word files gets created whenever there is an issue with FTP connectivity.
Please help...... (1 Reply)
Discussion started by: stunnerz_84
1 Replies
7. Shell Programming and Scripting
I want to check the log file continoulsy and to send a page alert if i see specific message like Reached Max Connrctions . Please suggest how to do this through script
DO i need to enable the cronjob to run the script evey 5 min or what is the best way (4 Replies)
Discussion started by: mskalyani9
4 Replies
8. UNIX for Beginners Questions & Answers
Hi There
I have to wrote a script where I am able to echo a result of an SQL script, however I want to be able to send an email to myself when it is more than 0 (so whenever a value is returned) is this possible?
I tried one way from looking on the web but this didn't work, I have added my... (8 Replies)
Discussion started by: simpsa27
8 Replies
9. UNIX for Advanced & Expert Users
Hi All,
I saw this unix alert and am hoping some genius can tell me what is means?
# | Location | Alert | Encoded Field | Data Field
2 BMC 2 0x2059757602020030 FFFF027000120300
Keyword/Timestamp
Type-02 127002... (2 Replies)
Discussion started by: Fgerber
2 Replies
10. Cybersecurity
Hello All,
Want to share here an article for Whats app users that team whats app is requesting users to upgrade to its latest version since they have found a vulnerability; where Hacker could turn on a cell's camera, mic and scan messages and emails.
Here is an article from "THE VERGE" for... (1 Reply)
Discussion started by: RavinderSingh13
1 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:
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(4) ioctl(2) operations are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl(2) will fail
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 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 SD(4)