General :: Adding And Using A New Disk - Without Rebooting
May 1, 2010
I'm running RHEL5: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
under VMWare Server 2.0.2. When I create a new disk for my Linux VM I want to be able to use it without rebooting.
I checked what was currently in use:
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
[Code]...
View 7 Replies
ADVERTISEMENT
Feb 7, 2011
I plan to install a server using LVM. I thought a partition schema where /boot would be in an ext4 partition while / /usr /var /home and /opt would be in the LVM. My question is: if I'm putting / into the LVM, is it necessary to divide /usr /var /home and /opt into different logical volumes? If I divide them, would it become harder to maintain when new disk space has to be added to the volume group?
View 7 Replies
View Related
Jan 29, 2011
I am trying to install 10.10 from a Live CD over my 9.04 (it would not do the upgrade automatically due to apparently lack of disk space.) at the end of the my best guess at the process (alas, Linux is pretty much a plug and pray operation for me.), on rebooting, I get the message: "the disk drive for / is not ready yet or not yet present" I must have messed up at the Allocate Drive SPace / Edit Partition step. I have three existing partitions:
7Gb for OS previously 9.04
35GB for data (which I clearly don't want to mess with)
a a bit for Swap.
So, I have clicked on the 7GB partition /dev/sda1 and have another window, Edit Partition, which is asking me: New partition size (I would just leave it at 7007) Use As (I presume I can leave it as EXT4?) Format the Partition (NO unchecked?)and Mount Point? Now here is where I don't have a clue. The pull down options are:
/, /home, /boot, /tmp, /usr, /var, etc.
not knowing any better, my first time through I just picked "/" and that is what got me to the message "the disk drive for / is not ready yet or not yet present" So what should I be specifying at this point?
View 9 Replies
View Related
Jul 7, 2009
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
View 3 Replies
View Related
Aug 9, 2010
I have two systems, both having file systems running on LVM. System No 1 has 2 PATA HDD (40 and 80 GB) running linux on LVM. System 2 has a single SATA HDD (300 GB) which again uses LVM. What i was trying to do was to add the two HDD in system 1 to system 2, possibly with little or no data loss. So i connected the PATA drives from system 1 to system 2 and booted up. The system booted up to the openSUSE 11.3 splash screen and stopped after scanning the HDDs. Frankly i never expected openSUSE to try n auto mount the new drives. I think the problem was caused because both the systems had VG and LV of the same names. Can the volume group be renamed, maybe from a live CD or somthing?? System 2 is not boot able now.
View 5 Replies
View Related
Mar 1, 2011
I'm running Redhat 5 which is running as an email server with Lotus Domino 8.5. Its a VM on ESX 3.5. The server was running out of space to so I added a new hardrive and mounted it to /domino/mail2, everything was fine for a couple of days, but then the machine became unresponsive, I couldn't even see anything on the console screen so I rebooted, it then did a file check and everything came up fine. This has now happened 2 more times over the past few days, I haven't seen any evidence that the extra disk is the problem but if I can't find anything else I will remove it and see if the problem goes away. There isn't really a consistent time it occurs.
Here's the output of the logs from the last time it happened if anybody who know more about this stuff then me ( which isn't a lot) wants to take a quick look as see if the problem is obvious or what I could be trying.
Mar 2 00:17:30 DOM2 kernel: mptscsih: ioc0: attempting task abort! (sc=ce6afbc0)
Mar 2 00:17:30 DOM2 kernel: sd 0:0:0:0:
Mar 2 00:17:30 DOM2 kernel: command: Write(10): 2a 00 01 3c 8c eb 00 00 08 00
Mar 2 00:17:30 DOM2 kernel: mptscsih: ioc0: task abort: SUCCESS (sc=ce6afbc0)
[Code].....
View 2 Replies
View Related
Feb 24, 2016
I'm trying to setup a PXE server with Jessie. I've got the basic setup working by following the steps at [URL] .... That part was really easy. I would like to make the process as automated as possible and then add Win7/10 to the system as well.
The first hurdle I've come across is the fact that netboot downloads everything off the repositories. This has the potential to use up a lot of bandwidth and I would like to avoid this if possible. The first idea I came across was to create a local mirror, this way not only will I be installing everything off the LAN but I'll also be getting all the updates for my systems off the LAN too. I wasn't too keen on this. The other option that I read about was to use the debian ISOs instead.
What I have tried is to copy the Debian ISO to /var/www/html/debian
Then, when my boot via the pxe, i set the option to manually select a repository and then i type in the IP address for my webserver for the address and type in /debian for the mirror directory.
However it breaks at this point. I get a message saying "Downloading a file failed"
I would prefer the as much of the install to come from the ISO as possible to keep bandwidth usage to a minimum.
For Win10, I read that I have to use an AIK to build the Winpe and then boot that. Then I can load the Windows10 ISO via nfs through Winpe.
pxelinux.cfg/default
Code: Select allroot@DHCP:/srv/tftp# cat pxelinux.cfg/default
UI menu.c32
TITLE PXE Test Boot
LABEL Debian 8
kernel linux
append vga=normal preseed/url=http://192.168.0.254/debian/preseed.txt initrd=initrd.gz --
LABEL Windows 10
kernel ??
append ??
LABEL HardDrive Boot
This is a preseed I have setup so far
Code: Select all#### Contents of the preconfiguration file (for jessie)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
[Code] ....
View 0 Replies
View Related
Jul 27, 2010
We have a server with RAID 0 with 4 hard disks on it each 250 GB. Linux kernel must find one hard disk named: /dev/sda with 1TB capacity. right? And also we have 2 partitions on sda: sda1 and sda2. We want to add another partition but we don't have enough space.
Now the problem:
If we add another hard disk and run
Code:
fdisk -l
Will the /dev/sda space incremented automatically so we can add new partitions or we must do something?
View 2 Replies
View Related
Jan 31, 2010
I am using mdadm 2.6.4 for managing RAIDs on Linux kernel 2.6.18. I've a query like whenever I tried to add a new disk to a running linear array(JBOD)i get a message "cannot add new disk to this array".
The exact steps are as follows:
create a new array as:
mdadm -C /dev/md0 -llinear -n2 /dev/sata/ /dev/sata2
It is getting added and i am able to see with -D command.
Now add a new disk sata3 as follows:
mdadm --grow /dev/md0 --add /dev/sata3 I get the output as:
md: sdb has invalid sb, not importing!
md: md_import_device returned -22
mdadm: cannot add new disk to this array.
So my first doubt is whether mdadm 2.6.4 supports this features or not if it supports then do I need to change the driver?
View 3 Replies
View Related
Sep 30, 2010
I have install Cent OS 5.5 on VM Ware ESXi 4. I have added new hard disk of 100 GB Disk space to same VM Ware instance.
How do I initialize that volume so I can see it on Linux server and use it.
View 3 Replies
View Related
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
Jul 23, 2010
i can't access to localhost with firefox although yesterday I could installing XAMPP successfully and access to localhost. Now when i enter to file:///opt/lampp/htdocs/index.php this message is shown :"Something is wrong with the XAMPP installation
View 1 Replies
View Related
Jan 29, 2010
I have installed an old HP Scanner on my Fedora 11 system, and it works great. The scanner is connected through a SCSI, and it gets recognized at boot time if the scanner is ON. However, if the scanner is OFF, I need to turn ON the scanner and reboot the workstation for the SCSI devise to be recognized. Is there a way that I can rescan the SCSI devise without rebooting?
View 1 Replies
View Related
Feb 10, 2011
Sometimes I use vnc server and start desktop. The memory use rises about 2gb during this. I need to be able to turn off the xwindows after I shutdown vnc without rebooting. Is there a way to do this?. And I don't need to know how to disable at boot thats not what I need to do.
View 5 Replies
View Related
Jan 17, 2010
I was wonding if there was a way to change from Gnome to KDE without rebooting.
View 3 Replies
View Related
Nov 4, 2010
I have NFS fileserver that has served me well for more than year. But recently I noticed that it has started to reboot on its own very frequently, almost once a day! It is most likely not a power related issue as I tried changing UPS/power sources, but no help!So my question is:Is there any log file where I can check which is causing the reboot? There may not be a single logfile, but I need some point to start the investigation!
View 3 Replies
View Related
Feb 4, 2011
My server is rebooting frequently(4 to 5times a day) without any logs, can any one help me out to fined the cause for the unexpected reboots of the server. reboot system boot 2.6.18-194.3.1.e Fri Feb 4 15:16 (00:-24)
[root@elastix log]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@elastix log]# uname -a
Linux elastix 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
[code]...
View 2 Replies
View Related
May 8, 2010
I'm trying to come up with a startup init script that will check to see if the system was shut down gracefully, or if it is rebooting from a poweroff or something similar?Anyone know of a way to check for this condition with the least amount of room for false positives or vice versa?My intial thought is just a startup script that will will check for a file on startup, and on a proper reboot/shutdown just touch the file. But id like to avoid that type of script if possible,
View 2 Replies
View Related
Jul 6, 2011
I have installed virtualbox because i wanted to run .exe files for my job. After installation and configuration it asked me to reboot. From that moment when reboots it returns the full symbol of fedora and then the screen becomes black with white letters. I couldn't login ever again. I am new in Fedora, i don't have a backup of my files and i cant't work. I think that this could be a command line or something like this. Is there any possibility to login even once to copy my files to another disk and then to setup Fedora again?
View 11 Replies
View Related
Jul 13, 2010
I have two operating systems installed in my computer. one is Windows XP( sp2 ) and another is Ubuntu Linux 10.04Lts. I reinstalled Windows XP. After rebooting, the grub menu is not displaying, only windows is booting, there is no sign of Ubuntu. Is there any way to restore the Ubuntu or I have to freshly install Ubuntu again ?
View 3 Replies
View Related
Mar 5, 2010
I'm using Ubuntu 9.10, and a usb webcam that is shown as 'Bus 001 Device 005: ID 0ac8:3450 Z-Star Microelectronics Corp.' by lsusb.
The problem is that on connecting the cam, it just works with the first program I start (skype, tokbox, messenger), and if I disconnect it or switch to another program, it stops to work and I have to restart my computer to make it work again.
Is there some good solution to reset the camera without rebooting to make it work again?
View 1 Replies
View Related
Apr 17, 2011
How to update newly created partion in RHEL6 without rebooting the system?partprobe /dev/sdaN...does not work here in RHEL6, however it did work in RHEL 5.
View 2 Replies
View Related
Oct 10, 2010
I have a 2 TB disk in an external SATA dock, formatted with a single ext3 (Linux) partition, which doesn't show up in the Windows 7 Computer Management->Disk Management utility, even as a raw/blank disk. I've verified that there's nothing wrong with the disk by connecting it to my Linux machine and mounting it, and I've verified that the dock is functioning properly by connecting a different FAT32-formatted disk, which mounts flawlessly as expected.I realize that I can't actually read the ext3 partition without additional software (e.g., Ext3IFS), but why doesn't the disk show up at all? Is there some sort of stupid anti-Linux filter built in? Is there any way to force Windows to recognize the disk, so that I can at the very least use direct block access with it?
Background: I want to clone an identical 2 TB disk onto this one. Due to my hardware layout, it's much easier to have the source disk attached to one machine and the destination disk connected to another, and do the clone over the network (the network is not a bottleneck with switched gigabit ethernet), than it is to hook them both up to one machine.(1) I did this once before when both machines were running Linux, but I've since upgraded the destination machine and decided to switch back to Windows for regular desktop use. I've got Cygwin installed, and have verified that the same basic method (dd + nc) will work, but I can't do anything if Windows doesn't even consider the destination disk to exist.I only have one eSATA port on each machine. Opening them up just to do this clone is a rather large annoyance. Also, since this is my backup disk, I'd like to eventually automate the cloning from the active disk to another one that I regularly swap with a third disk that I store off-site.
View 1 Replies
View Related
Feb 4, 2010
OS: Debian unstable 32bit, kernel 2.6.32-2, grub 1.98 from late january 2010 (only have working net-access from work now, so I am grabbing information from memory). EXT3 and EXT4 support is compiled into the kernel along with chipset/scsi/sata support (not as modules), and I have tested to boot ext3 with it before proceeding. Prereq: my old disk started to have too much S.M.A.R.T errors, so I bought another one, put in a USB cabinet, added swap and ext4 partition/filesystem to it, and copied over all data from the old system to the new that was mounted at /dest using the command "find ./ -xdev -print0 | cpio -paV0 /dest". Swiched disks, so I now have the ext4 disk sitting at /dev/sda (partitions: sda1 => ext4, sda2 => swap), and booted into rescue-mode from cdrom, using /dev/sda1 as root with a shell on. After doing this, I performed the following commands:
mount --bind /dev /dest/dev
chroot /dest
modified the /etc/default/grub to instruct the kernel to boot using ext4, ran grub-install --recheck /dev/sda
ran update-grub to modify /boot/grub/grub.cfg (which looks as it should) After doing this, grub finds my partition and mounts it. It however stalls with the message: "warning: unable to open an initial console" and does nothing after this point. I have no ramdisk, but my old kernel booted fine from ext3 (and still does if I copy it to a ext3 partition), and since the ext4 support is compiled into the kernel - should I really need a ramdisk?
View 4 Replies
View Related
Sep 20, 2011
How to check if some folder is on a shared disk or on a local disk?
View 1 Replies
View Related
Aug 17, 2010
I have installed Debian GNU/Linux 5.0.3 "Lenny" on a Compaq 510 laptop.
The problem am experiencing is that when I start it, it takes about 3 - 4 reboots before I get it to work without an automatic reboot.
I checked the dmesg command and the last part indicates the following:
I don't know what to do so as to enable the PCI interrupt that is should not reboot after a cold boot.
View 3 Replies
View Related
Nov 18, 2010
I don't understand disk sizes in Linux. I have a 500GB drive. It's ext4. I have run "tune2fs -m 0" on it to reserve the amount of space reserved for root to 0.
I'm using Ubuntu 10.04 that comes with a Disk Utility. When I run "System->Administration->Disk Utility (palimpsest)" the disk shows up as 500GB (see picture). But when I run df -h it shows up as 459GB. So, I don't understand the discrepancy.
When I run df I get the following:
Question: Why is Disk Utility showing me something different than "df"?
View 6 Replies
View Related
Oct 17, 2010
I have windows and linux distros on my /dev/sda. I tried to install fedora 13, but after reboot I cannot boot up to any of installed systems. I'm getting: Non-System disk or disk errorreplace and striky any key when readyWhen I use ubuntu 10, boot from first hard disk, I'm able to get GNU GRUB version 1.98...nd boot up to any system. but without ubuntu in a cd-rom I'm getting this error.I tried: grub-install /dev/sdX in one of my installed linux distros, but without any success.
View 1 Replies
View Related
Dec 22, 2010
subject: LINUX - release.5.4- verify disk details from linux
with sfdisk -s I can see the disk capacity as the following:
sfdisk -s
/dev/cciss/c0d0: 143338560
total: 143338560 blocks
but how to see also the disk details as disk manufacture ... etc.
hdparm -i /dev/cciss/c0d0
/dev/cciss/c0d0:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
View 1 Replies
View Related
Aug 17, 2010
S.M.A.R.T.tells me my primary fedora drive has lots of bad blocks,so I ordered a used identical drive from ebay.I want to do the very basic process of making a full backup of my existing drive - so as to replace it with a more or less identical replacement. Logically identical - not necewsarily sector to sector identical.im not literate in unix and its children - and seem to find a plethora of descriptinos of how to do what I want to do. which is
1. format the drive - what you may call low level format - ie op sys independent.
2. create a partition system compatible with my existing disk.
3. copy everything from my existing disk to the new disk.
4. put existing disk on the shelf as a backup and start to use new disk.
View 2 Replies
View Related