Debian Hardware :: Adding Scsi Hard Disks To Wheezy

Feb 17, 2015

Installing two scsi hard disks on a debian system.

It is a physical old HP machine (netserver lc2000) with a fresh debian wheezy 7.0.8 installed.

It has two scsi hdds (73GBs) that I don't know how to add to the system so I can partition, format, mount, etc.

This is what I have tried so far:

1. dmesg output
Code: Select all# dmesg | grep scsi
[    2.173909] scsi0 : pata_serverworks
[    2.174377] scsi1 : pata_serverworks
[    2.417276] scsi 0:0:0:0: CD-ROM            LITEON   CD-ROM LTN485S   JKF1 PQ: 0 ANSI: 5
[    2.622195] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
[    2.623194] sr 0:0:0:0: Attached scsi CD-ROM sr0

[Code] ....

2. lsscsi output
-I installed lsscsi and here is the output:
Code: Select all# lsscsi --device
[0:0:0:0]    cd/dvd  LITEON   CD-ROM LTN485S   JKF1  /dev/sr0
[2:0:0:0]    disk    HP       Net Mirror       V1.0  /dev/sda
[2:2:0:0]    disk    HP       9.10GB C 80-P94N P94N  -       
[2:2:1:0]    disk    HP       9.10GB C 80-P94N P94N  -       

[Code] ....

3. force scsi scan
-I tried to use this command to force a rescan for the hdds, but nothing happened:
Code: Select allecho "- - -" > /sys/class/scsi_host/host3/scan

-no errors, but log says nothing
-tried the above with host0 - 4, same result

4. fdisk -l
Code: Select all# fdisk -l

Disk /dev/sda: 9098 MB, 9098887168 bytes
255 heads, 63 sectors/track, 1106 cylinders, total 17771264 sectors
Units = sectors of 1 * 512 = 512 bytes

[Code] ....

5. tried to specifically add one device but it didn't work:
Code: Select all# echo "scsi add-single-device 2 2 8 0" > /proc/scsi/scsi
-bash: /proc/scsi/scsi: No such file or directory

View 2 Replies


ADVERTISEMENT

Software :: No Scsi Scanner With Debian Wheezy Gnome2.30.2?

Jun 27, 2011

Dist-upgrading to debian wheezy (gnome2.30.2) prevents me using a scsi HP 6200C scanner. I tried both

startx
gnome-session
and startx
exec ck-launch-session gnome-session

In both cases:

$ ls -l /dev/sg*
crw------- 1 root root 21, 0 Jun 27 16:21 /dev/sg0
crw------- 1 root root 21, 1 Jun 27 16:21 /dev/sg1
crw-rw----+ 1 root cdrom 21, 2 Jun 27 16:21 /dev/sg2
crw-rw----+ 1 root root 21, 3 Jun 27 16:21 /dev/sg3

instead of the expected "root scanner" to which affording permission (as it occurred with previous gnome in sqeeze). Incidentally, a flash card is not automatically mounted (no permission) but was solved by manual mounting as vfat.

View 4 Replies View Related

Debian Hardware :: Adding 4 TB HD To Wheezy

Sep 6, 2014

I will preface this post by stating I am a beginner in Linux in general. I am trying to add a 4TB hard drive to my LVM set up. I started by partitioning the disk using fdisk. After that I went to add the disk as a physical volume. When I ran pvdisplay I noticed that the disk was only showing as 2 TB.

After some research it appears that anything over 2 TB isn't supported by fdisk. Instead I need to use "parted" or "gdisk" . So I used the following command "sudo gdisk /dev/sda" and recieved this,

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present

Found invalid GPT and valid MBR; converting MBR to GPT format. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if you don't want to convert your MBR partitions to GPT format!

I was about to pull the trigger and enter "w" when I saw the message "THIS WILL OVERWRITE EXISTING PARTITIONS" which scared me away.

So does this message only refer to the previous partition I had created on /dev/sda? Or is it all partitions?

View 6 Replies View Related

Debian :: SQUEEZE - Cat - /proc/scsi/scsi - No Such File Or Directory?

May 4, 2010

When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory". I've tried this on two different installs on two different machines.

View 6 Replies View Related

Fedora Installation :: Does Preupgrade F10 To F11Beta Fail On SCSI Disks?

Apr 23, 2009

I did a fresh install of Fedora 10 x86, then updated fully with yum, then did a preupgrade to F11 Beta. The download of the rpms works fine but the preupgrade reboot fails with:
Error downloading kickstart file
Unable to download the kickstart file.....
proceed as an interactive installation
hd:UUID=8f4a.....(uuidhere) ...05a8:/upgrade/ks.cfg

I have a SCSI disk so I'm suspicious preupgrade is having trouble accessing it? That prefix "hd" looks suspicious, should that be:
Code:
sda:UUID=8f4a.....(uuidhere) ...05a8:/upgrade/ks.cfg
or maybe
Code:
sd:UUID=8f4a.....(uuidhere) ...05a8:/upgrade/ks.cfg

View 1 Replies View Related

Ubuntu Installation :: Installing Dual Boot WithXP On SCSI Disks?

Aug 31, 2010

Using 9.10 in dual-boot with XP:

Dell 600SC running an Adaptec 39160 dual channel SCSI controller which has 2 disks connected to it. The machine also has 2 IDE drives connected to it. The boot order of the disks is set to the SCSI disks as the first in boot order (after CD).

I am trying to set it to maximize performance from the SCSI config so I have XP on the first SCSI and I set up Ub 9.1 on the second SCSI in a dual-boot configuration.

In this set up the machine when rebooting goes straight to XP (on the first SCSI) and does not even see the Ub installation. The installation went fine and no complaints. On the same machine if I just had Ub on the first SCSI - machine boots fine (albeit after a long pause looking for the bootloader).

So with XP on the first disk (which I need to - to have XP) the Ub bootloader does not seem to set the right params to be able to boot.

Again this is with 9.1. Not trying 10.04 as with 10.04 I don't even get to boot even with standalone Ub (with no XP). However it installs fine but does not find bootloader in 10.4, so we will keep to the 9.1 for now. I am however open to working with 10.04 if there is a solution in dual-boot with XP in my config.

So again 9.1 installs fine with XP on 1st SCSI disk, an ub 9.1 on 2nd SCSI disk, but then bootloader does not get activated and machine goes straight to XP.

View 9 Replies View Related

Debian :: Auto-mounting Hard Disks On Start Up

Feb 18, 2016

I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.

View 5 Replies View Related

Debian Configuration :: Tool To Turn Off Hard Disks?

Dec 31, 2010

Is there a command line tool to shut off/spin down the hard disk either when not in use or when something is typed into the console? I'm trying to save power in a laptop I have..

View 2 Replies View Related

Server :: Adding Scsi Device Won't Show Up In Fdisk

Jul 27, 2011

I created a new disk on our scsi san. I then ran the following command: echo "- - -" > /sys/class/scsi_host/host1/scan. did that command for each host. and in dmesg, it shows it found a device /dev/sdg. but when i do a fdisk -l. It never lists /dev/sdg. I just did this other day on another server and it worked fine like that. This is RH 4.8.

View 7 Replies View Related

Ubuntu :: Keep Connect Both Hard-disks / At Start Select From Which Hard-disk To Boot?

Mar 9, 2011

I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?

View 7 Replies View Related

Fedora :: LVM And RAID - Adding 2 More Disks To System?

Sep 25, 2010

I have implemented LVM to expand the /home partition. I would like to add 2 more disks to the system and use raid 5 for those two disks plus the disk used for /home. Is this possible? If so, do I use type fd for the two new disks and use type 8e for the existing LVM /home disk? Or do I use type fd for all of the raid disks?

View 1 Replies View Related

Debian Hardware :: Servers Which Contain SATA Disks And SAS Disks?

Feb 25, 2010

I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?

I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);

dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)

(a new server,2 CPU 8 core and 8 gb ram)

1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)

[Code].....

View 3 Replies View Related

OpenSUSE Hardware :: Installation Of SUSE 11.2 On A New SCSI Hard Drive?

Jan 22, 2010

I did an installation of SUSE 11.2 on a new SCSI hard drive. Keeping the old hard drive separate. I remembered there was some info on the old hard drive I wanted.

I added this to the system and mounted a partition. I then copied the data over. Then I umounted the partition rebooted the machine and removed the hard drive. However the machine will now not boot without this hard drive even though its not mounted. Not sure what the error message im given means I think it could be trying to fchk it.Do I need to do something more like remove /dev/sdd ?

View 3 Replies View Related

Hardware :: SCSI Hard Disk Device Node Creation

Mar 26, 2010

I am developing for a Linux based device for which the HOT PLUG option is deactivated. As part of optimizing the code, we also don't want to create device files for unused devices. We understand that both USB attached and fixec SCSI hard disks would create device files like /dev/sda,/dev/sda1 /dev/sdb, /dev/sdb1 etc. Is this understanding correct?

In the case of USB attached SCSI devices, would driver create this device file entry? How is it created? Can somebody please tell me how it is being created automatically. In case I attach a fixed SCSI hard disk before boot up(and create device file /dev/sda1), would USB SCSI device driver create device files starting from /dev/sdb, automatically.

View 4 Replies View Related

Fedora Installation :: Reconfigure Grub When Adding Disk To Machine Where Both Disks Have Own MBRs?

Mar 17, 2010

How do I reconfigure grub when adding a disk to a machine where both disks have their own MBRs? I have two volumes:Disk 1 - actually mirrored RAID-1 drives managed by ICH9R on the motherboard Disk 2 - a single drive managed by ICH9R on the motherboard, but without RAID. Disk 1 is the "old" disk containing WinXP on the first partition. The MBR of Disk 1 was created by Windows. Disk 2 was built on the machine while Disk1 was unplugged. Disk2 has Win7 on /dev/sda1 and Fedora 12 on /dev/sda7. Obviously, Disk 2 has grub installed on its own MBR.

When I plug-in both Disk 1 and Disk 2 at the same time, I would like to reconfigure grub so that it gives me the option to switch between WinXP on Disk 1, Fedora on Disk 2 and Win7 on Disk 2. (I may also want to install Ubuntu on another partition of Disk 1, but that's a separate issue.) The problem is that when I plug in Disk 1, Disk 1 becomes /dev/dm-0 and Disk 2 becomes /dev/sdc (instead of /dev/sda as when I installed it). (I don't think I can switch this order because I'm worried that Windows will become confused.) So, how do I keep all partitions the same and get them all to work from grub? On which MBR will I need to install grub? How do I configure it to see all 3-4 of my operating systems? Do I fix grub from the Fedora LiveCD?

View 1 Replies View Related

Hardware :: SCSI Device Does Not Exist After Connecting Buslink 80GB Usb 1.1 Hard Drive

Jan 25, 2010

After connecting, dmesg shows:

Code:

After that, there are no /dev/sd* entries. the hard drive works as expected on my windows box. how can i mount this drive?

View 7 Replies View Related

Server :: Error SCSI Controller Was Reset Due To SCSI BUS Noise Or An Invalid Signal?

Feb 15, 2010

i m facing same error in most of the HCL servers. the problem is that it throws error while booting and sometimes not throws error. the error is :-

Feb 13 13:17:25 fe13s kernel: Adapter 0: Bus A: The SCSI controller was reset due to SCSI BUS noise or an invalid signal. Check cables, termination, termpower, LVDS operation, etc.

Feb 13 13:17:30 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc

Feb 13 13:29:15 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
code....

View 2 Replies View Related

Red Hat :: Mapping /proc/scsi/scsi Entries With Respective Device Names In /dev/ Directory

Apr 11, 2011

In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.

So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.

But, I observed some differences in following scenario, where

1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.

2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.

(Output attached at end of the thread)

But in /proc/partitions, the device order is different.

You can see their respective sizes in /proc/partition output as well.

So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.

It seems that my assumption is wrong in this scenario.

Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?

How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?

View 2 Replies View Related

General :: Non-root Access To /proc/scsi/scsi

Jun 23, 2011

Some of our workstations have LTO's attached and they seem to drop off every now and again, the only thing which picks them up again (besides a reboot) is the famous rescan-scsi-bus script from here

The thing is that I'd like non-root users to be able to run this script, which in turn needs root to /proc/scsi/scsi

View 2 Replies View Related

Ubuntu :: Can't Access Two Different Hard Disks

Jan 30, 2011

I'm having two hard disks in my pc. I can easily access both of them from my windows. But in case of ubuntu i can access only that hard disk on which ubuntu is installed. The other hard disk can not be accessed from ubuntu.

View 2 Replies View Related

Hardware :: Using Old Hard Disks In New System

Nov 10, 2010

I'm going to buy a new system, and I have 2 SATA hard disks from my old system. One is installed with a Linux OS, the other with Windows Vista.For the Linux hard disk, will I be able to simply use these 2 hard disks on the new system and boot up, retaining all my data? If not, how do I transfer the data from my old hard disks to my new hard disks? My old system is faulty (no signal to monitor), so I can't just copy everything directly using, say, a portable hard disk.

View 3 Replies View Related

General :: External Hard Disks

Mar 22, 2010

I'm using SUSE11.1, and connected to my system, a DELL 7500, a 1.5 TB Buffalo external HD. I partitioned it in 4 sectors.After connection, nmediatly the mounted disk would appear on the screen,(each partition with its respective name), and could use it as any other folder.To unmount the external Hard disk, I just ejected each partition, and had no problem. I used the same HD with my Mc, and things were all right, I used to backup automatically the Mc. However after having been using the system in this way for more than half a year, suddenly the hard disk began to rattle...and the SUSE system on the DELL, nor the Mc can mount the external hard disk any more. Thus, the partitions can not be mounted any more. When I cd to /media/ in the SUSE, the names of the partitions appear, but they seem to be empty..On the Mc, going to /Volumes/, before the problem appeared, the names of the partitions were there... but now, they are no more and the automatic back up either.So my question is, how to mount the disk, if it needs mounting... or how I can recover the partitions and the data therein... I am clueless, after two weeks trying to solve the problem..

View 1 Replies View Related

General :: Regarding Local Hard Disks

Dec 28, 2010

In Fedora when we double click the Partitioned Local Hard Disks then we have to give the root password otherwise it will not open. Is there any way to read and execute the Partitioned Local Hard Disks without giving the Root Password.

View 5 Replies View Related

Software :: Lilo For Two ATA Hard Disks

Jan 23, 2011

I am booting Slackware 13.0 on an X86 from a (master) ATA hard drive. I have added a second (slave) hard drive that contains an installation of Slackware 13.1. This works in so far as I can boot 13.0 from the master drive, then mount the slave drive and read and write files to it. So the hardware is basically working.What I want to do is configure lilo so I can choose to boot either 13.0 or 13.1. So far I have not gotten this to work.

Under 13.0 the slave disk appears as /dev/hdb. The root-partion for 13.1 on the slave is the first primary partion on the slave, and appears as /dev/hdb1 when viewed under 13.0. What stanza should I add to lilo.conf to make the slave 13.1 bootable?

View 5 Replies View Related

Ubuntu :: Format Alignment Of Hard Disks?

May 27, 2011

I thought that alignment of 4096-byte sector Advanced Format hard drives was automatically taken care of via Gparted or Disk Utility until I bought a Hitachi HTS547575A9E384 (Travelstar 5K750) and saw that Disk Utility showed my partitions to be out of alignment. I then realized that my WD, which I had bought a few months ago, probably had its jumper set to emulate a 512-byte sector legacy drive (512e) and is probably not set to the AF setting.

Straight to the problem.

I've searched many sites, some of which suggest using fdisk (others the proprietary software of the hard drive's manufacturer). It is essential that one change the arguments prior to changing the partition table as there is no way back (yet, as far as I know) without having to move data to another drive and starting all over:

[Code]...

View 9 Replies View Related

SUSE :: No Hard Disks Were Found For Installation

Aug 5, 2009

the hard disc has two partitions, one is 156gb ntfs, currently with windows xp prof sp2, and I am trying to install linux to the second partition, also currently ntfs.I am not a total newbie (i used fedora 10 last semester and ubuntu the semester before that). I have tried installing ubuntu9.04, fedora 10, fedora 11, and opensuse11.1 to this computer, and every time the installation probes for hard disks it comes up with zip, unless I have my external disks connected. Otherwise "No hard disks were found for the installation. Please check your hardware!"with OK button.

I also tried with gparted to see if I could find the hard disk, and still had no luck. I googled my problem and found others with similar problem but no satisfactory solution.does anybody have any idea what could be wrong and how to fix it??

View 6 Replies View Related

General :: Using LILO Then Moving Hard Disks Around

Jun 15, 2010

A few years ago I built a small Slackware system and, for storage, I used using a 2Gb Compact Flash card plugged into the primary IDE interface. Initially, I made a bootable CD rom, booted the new system from that, copied the file system to the CF card and then ran LILO to install a boot sector on the CF 'disk' /dev/hda. That all worked well enough.

The only trouble is that the CF card, being an early one, is rather slow and so I've just bought an Innodisk 2Gb Disk-on-Module which ought to be much faster. I have plugged that into the secondary IDE interface, I've run cfdisk to make a partition, formatted it using mkreiserfs and copied all of the contents of the CF card on /dev/hda to the new device on /dev/hdc. So far, so good. But...Now I need to run LILO from the existing CF card in /dev/hda to put a boot sector on the new /dev/hdc. Then I want to move the new device from /dev/hdc and put it in /dev/hda once it's bootable.

I'm stuck to know how to configure LILO to install a new boot sector on /dev/hdc. I don't appear to be able to make LILO understand what I'm trying to do. If I change the line 'boot = /dev/hda' in lilo.conf to 'boot = /dev/hdc', LILO aborts with an error message.

View 5 Replies View Related

General :: Boot Two Hard Disks - XP And Kubuntu

Sep 10, 2010

I have installed xp at the main hdd. It has 3 partitions. Then I installed Kubuntu 10.04 on the slave hdd. When I boot, it doesn't recognize kubuntu. When I searched at My PC in XP, didn't recognized the slave hdd. I switched the hdd (slave to master and viceversa) and it didn't go well either.

View 8 Replies View Related

General :: Add Entry To GRUB2 With 2 Hard Disks?

Jun 8, 2010

I have two ide hard disks. One with windows and other with ubuntu 10.04. i want both windows and ubuntu in grub menu so what should i do ?

View 3 Replies View Related

Server :: Configuring Four Hard Disks Externally Into One LVM?

Dec 30, 2009

I am connecting a complete set of four hard disks externally to my linux server.I have certain queries on that

1. How to make it detected. Will the cd which had come with that will install the required drivers?
2. How the cd drive will work out in linux?
3. How to configure all the 4 HDD into one LVM?
4 How to remove an already installed software from a linux system?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved