Software :: Adding Drive - Extending VG And LV - Partition New Drive?
May 10, 2010
I need to expand one logical volume which is now in 99% utilization. The volume group only have 5GB and they need 25GB more so that I can add 30GB. The disks will be coming from SAN Storage. If the SAN Admin can successfully add the disks to the server and I can see it, should I still partition it and change the type to Linux LVM?
I have tried just doing a pvcreate without partitioning and do a vgextend and it works without actually partitioning the disks. But when I do "fdisk -l", it actually shows that the disk don't have partition.
Whether I need to partition the drive to 8e (Linux LVM) before doing? Which one is better? Below are my steps and please let me know if this the correct one.
Here's my steps:
1.) dmesg | grep sd (to check the newly added disks)
2.) fdisk /dev/sdx (create primary partition and assign Linux LVM to type)
3.) pvcreate /dev/sdx
4.) vgextend VolumeName /dev/sdx
5.) lvextend -L+30G Volume01 /dev/Volume01/lv01
6.) umount /dev/Volume01/lv01
7.) resize2fs /dev/Volume01/lv01
8.) mount /dev/Volume01/lv01 /lv01
9.) df -h (check if resized successfully)
View 9 Replies
ADVERTISEMENT
Oct 4, 2010
Is it possible if I am only using ext3 and no LVM or anything else to re-size the partition into another physical device? I am pretty sure the answer to this is no but I was still curious as I am facing a full 1tb disk and need to add a new drive and unsure how to do this due to shared folders existing on the old drive and no way to actually expand them without linking in new files or something.
View 8 Replies
View Related
May 17, 2011
Currently I'm running a smaba on slackware 13.1 with a 1TB Hard drive for dumpng files rather than sharing. My partition table is as follows:
#####################################################################
/dev/sdb2 swap swap defaults 0 0
/dev/sdb1 / ext4 defaults 1 1
/dev/sdb3 /home ext4 defaults 1 2
[code]....
Now that i need to add 2 more 1TB hard drives and I want to stripe these two drives to make one partition for large space.
View 4 Replies
View Related
Mar 29, 2011
I have a dual boot computer with slackware_64 13.1 and windows.
I have a 120G ide hard drive that I need to add to my computer.
Adding this hard drive changes the drive device id's and slackware won't boot.
as installed, my drives look like this:
When I add the extra hard drive, it looks like this:
I know there is a way to make an initrid and to use the uuid identifications for the drives, and even use labels instead of the long uuid's, but I'm unfamiliar with this process, so I was hoping somebody that's done this before might point me in the right direction.
View 11 Replies
View Related
Jan 7, 2011
I have about 128 GiB of unallocated space on /dev/sdb (which is a physical hard drive). I want to take 60 GiB of this space and add it to an lvm2 partition of /dev/sda.
#1. Is there a way to have a partition span two drives? If so, please explain.
#2. LVM2 IS NOT SUPPORTED BY GPARTED. DON'T ASK.
#3. If the answer to question 1 is yes, is is easy (or possible) to do it to an lvm2 partition?
View 2 Replies
View Related
Aug 2, 2010
Installed Ubuntu 9.1 karmic koala in a dualboot with Windows XP to remove a virus from the windows drive. I think the virus was found but somehow I have done something to cause a invalid drive error message at startup. I read that gparted may by a way to fix this, but I don't want to do anymore damage.
This is what is displayed when I start Gparted /home/ubuntu/Desktop/Screenshot--dev-sda - GParted.png [IMG]file:///tmp/moz-screenshot.png[/IMG][IMG]file:///tmp/moz-screenshot-1.png[/IMG]
View 1 Replies
View Related
Mar 23, 2010
I am trying to move a whole bunch of files from one partition on one hard drive to the same partition on another hard drive. Can I mount the same partition (same name, different drives, i.e. /data on /dev/hda1 and /data on /dev/hdb1)and copy those files? Shutdown the server, take out /dev/hda1 and boot up with the new drive and it's /data contents.
View 1 Replies
View Related
Mar 16, 2010
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
View 3 Replies
View Related
Oct 23, 2010
I am having a problem booting my PC after adding a new SATA drive.
The PC has 3 drives.
SDA is a 500Gb SATA drive
SDB is a 1Tb SATA drive
SDC is a 160Gb IDE drive
The PC boots from the 160Gb IDE drive.
If I now install a 2Tb SATA drive the boot fails, it starts off OK as in the Motherboard boots from the IDE drive but sometime into the boot the / directory cannot be found.
If I boot from a live disk and check out the disks with gparted, I find that the new 2 Tb SAta drive is SDC and he 160Gb IDE drive is now SDD. I expect this is my problem but I cannot work out how to change it.
Note fstab is using UUID designations - not sure if this is relevant.
View 4 Replies
View Related
Jan 23, 2011
I'm trying to get a second drive configured. I wasnt to use this to store pictures movie s, and have the ability to share them across the network.
Main drive is SATA 80 Gig New Second drive SATA 1 Tb I can see both drives in the bios, They show up in g parted I've formatted and partitioned the drive and and every time I try to create a folder or share in SAMBA it tells me the I'm not the owner. I thought I could install the second drive and then partition the drive and I would be good to go like windows this was not the case.
View 1 Replies
View Related
Jul 3, 2011
I'm using ubuntu 10.10 and I would like to add a drive to grub. I have windows xp installed on the other drive, but in order to get to it right now I need to change drive priority in the bios. So how do I go about adding this new windows drive to grub?
View 3 Replies
View Related
Jun 24, 2010
I've just bought a reconditioned PC but the HDD is of very small capacity. I have the hard drive from my old
PC before it died, and it has all my work on it. Can I simply cable up my old HDD in my new-ish PC so that I can access all the material on my old hard drive; the old drive is much larger and has spare capacity on it which I would like to use. Both HDDs are IDE, and the OS is Ubuntu 10.4.
View 6 Replies
View Related
Aug 31, 2010
i would like to extend my main file system into the unallocated space that i have on my hard drive, the unallocated space is most of it, as it used to be a partition but was deleted, do i have to do this with a boot up disk because i think that it can only be done on an unmounted partition, or is there a way to do this while linux is running in the main partition.
View 1 Replies
View Related
Apr 29, 2011
I have an old Linux server, but now the hard drives are reformatted. I want to use this as a test server before I do anything on our live server. Our live server is running CentOS 5 so I would like to install CentOS 5 on this server, however the mother board does not seem to recognize the CD ROM any more, and I have tried other CD ROMs - So, the .iso file I down loaded from CentOS's mirrors can't be installed that way.I have a windows machine and I was wondering if I could just dump the .iso file onto one of the reformatted hard drive and then reinstall it into the server?
View 2 Replies
View Related
Sep 28, 2009
I just added a new hard drive an I am in gparted and when i try to create a primary partition I can only choose hfs, what am I doing wrong? I want to create ext3 or ext4
View 1 Replies
View Related
Feb 21, 2010
I ran out of space on my /home directory and added a drive. I've got it in my fstab file but how do I get Ubuntu to add the space to my /home? The line I put in fstab is:
/dev/sda5 /media/mynewdrive ext3 defaults 0 2
View 2 Replies
View Related
Apr 8, 2010
I need some help on this one. I added an second internal hard drive to my file server, a 500GB WD. I want to use this drive as the primary storage drive for my file server, and I want to format it with XFS. I've found some guides showing me how to add hard drives, but they didn't really fit what I want to do. When I run fdisk -l this is what I get
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001af4f
[code]....
Disk /dev/sdb doesn't contain a valid partition table
View 7 Replies
View Related
Jun 18, 2010
Adding a Second Hard Drive?
View 2 Replies
View Related
Jan 7, 2011
I've had Ubuntu for about 8 months now, and haven't really had any serious problems with it, or problems I couldn't find a solution for. This one is kind of weird and is really driving me crazy.There were two Seagate Barracuda's in my computer, and I added a third a couple days ago. At first, I was getting a grub 22 error, because they were in the wrong sata socket order, but now they're all in the order they were before, save for the third which is in SATA port 3. After the GRUB2 display, I receive a blinking cursor on a black screen. I can type whatever I want into it and nothing happens, and if I wait a few minutes it will eventually show a graphical login screen, then displays an exception and then boots to the graphical plymouth screen. Here's a section from my kern.log that shows the bit the login screen displays as well as the rest of the errors.
Code:
scsi 2:0:0:0: Direct-Access ATA ST31000528AS CC38 PQ: 0 ANSI: 5
Jan 5 20:34:07 klendathu kernel: [ 16.712112] sd 2:0:0:0: Attached scsi generic sg1 type 0
[code]....
View 2 Replies
View Related
Oct 12, 2010
What can you do with adding a second hard drive..?
View 7 Replies
View Related
Mar 6, 2010
Server (LVM):
500GB
320GB
I want to install a new 500GB and remove the 320GB, of course moving the data on the 320GB to the new 500GB. I have an external 1TB in enclosure that I can plug in to move the data over, but how do I move only the data on the 320GB to it?? I found this [URL]. But that is only to move the data to a new replacement disk, but my external is only temporary to move the data from the 320GB until I remove it+install 500GB, then move the data back. Not enough space on the 500GB already on server to move everything from 320GB to it, just in case that seemed the obvious thing to do.
View 1 Replies
View Related
Apr 5, 2011
I have serwer Debian with my website. My provider splited the disc into 5GB partition for / and 495GB partition for /var. Everything was going ok for over two years but now I don't have enough memory on /. I'd like to increase the partition but the problem is that /var is just next to it so I can't easily change the end of the first one. I need some safe solution. It might be even just shrinking partition for /var, adding new one after if it helps anyhow (I have about 450GB free memory).
Some outputs
Code: # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 5201536 5173904 0 100% /
tmpfs 1023464 0 1023464 0% /lib/init/rw
udev 10240 2672 7568 27% /dev
tmpfs 1023464 0 1023464 0% /dev/shm
/dev/sda2 478812280 10336484 444345032 3% /var
overflow 1024 4 1020 1% /tmp
# parted print
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 5369MB 5369MB primary ext3 boot
2 5369MB 500GB 494GB primary ext3
3 500GB 500GB 538MB primary linux-swap(v1)
View 2 Replies
View Related
Oct 18, 2009
I have a working F-10 box with an older motherboard (pre-sata). The p-ata ports are full (4 drives), so I'm trying to add a sata controller and another drive. The sata controller plugs into the pci bus, but is not detected by the bios (very old). After booting, the OS loads the driver module(s) and detects the new controller and drive. I was able to add the new sata drive into the LVM system using system-config-lvm. All was fine until I rebooted.
I get pages of lvm errors and booting fails. It looks like it's trying to mount the volumes before the sata controller is modprobed. Is there a way to get the os to modprobe for the new controller before trying to mount? The extra drive space is on a data partition, not the boot partition.
View 7 Replies
View Related
Jul 31, 2011
I have an existing Fedora 15 system installed from scratch.I've ordered a harddrive identical to my SDA and want to add it to my existing system as a RAID1 setup.I've googled around and cannot find recent clear instructions how to accomplish this. I don't want to reinstall everything from scratch. It should be possible to create the RAID1 using the existing data disk and then mirror everything up?
View 1 Replies
View Related
Jan 1, 2010
A local store built a brand new dual core system for me about a month ago with a 1TB drive and installed Karmic on the entire drive. I now have a piece of external hardware that requires XP and simply will not work in XP in Virtualbox. I have purchased another 1TB drive, and my thinking is to create an XP partition of about 2-300GB and leave the rest of the drive for another Karmic partition and dual-boot. I don't care which drive is primary (unless there is a reason I should).
I was thinking of unplugging the karmic drive and putting the new drive in it, installing XP on it, then adding the Karmic drive back to the system and editing one of the boot files to add the other operating system.
If so, which boot file should I edit? Which drive should be primary? Or, is there a better, easier way to do this?
View 3 Replies
View Related
May 2, 2010
Just added a DVD drive to a machine which had no drive before. When I boot I get the error about being unable to find the root drive by its UUID. If I unplug the DVD drive it boots as normal.
I'm guessing the root drive is getting a new name i.e /dev/sda2 instead of sda1 and thus a new UUID. How can I add the drive and fix the UUID issue in grub?
View 8 Replies
View Related
Sep 9, 2010
I just switched to ubuntu and i love it!! The installation went flawless but i had a second hard drive while i had windows vista to store all of my media, i.e. mp3 and pictures. Am i able to access the stored information on the second hard drive in ubuntu? Will i need to delete the partition in order to use the second hard drive for future use? The second hard drive shows up in the disk utility application, but not in the computer/file browser section. The file system for the second hard drive is hpfs/ntfs.
View 3 Replies
View Related
Aug 22, 2011
when i first installed ubuntu i cut up 20 gb from one of my drives and put ubuntu in it, because i still had xp. Now i want to add extra space. can i do that ?
View 9 Replies
View Related
Jul 16, 2009
How do I add another Windows XP SATA Hard Drive to this Grub menu, on a USB Stick?:
timeout 30
default 0
#
[code]...
View 2 Replies
View Related
Aug 7, 2010
I am just starting out in linux and am a little confused about mounting drives. On my fedora pc, I have 2 x hard drives. When I originally installed the os, I had 1 drive with the default partitioning. I placed all my data into /var/files and had various folders under there e.g. music, video, docs etc. It didn't take long for this to fill up. So I added a 2nd drive and mounted it as /var/files which increased the space for all the folders in that directory. So my fstab has:
sda1 /
sdb1 /var/files
Now its filling up again and I want to add a 3rd drive. But this time, I want to separate my music from my video's etc but still keep the share under /var/files. So, do I add the 3rd drive, mount it as /var/files/music1, then transfer the music files from /var/files/music to /var/files/music1 and once the transfer is complete, delete /var/files/music, rename /var/files/music1 to /var/files/music and then mount sdc1 to/var/files/music? The bit I can't get my head around is the mount within a mount:
sdb1 /var/files is mounting everything under it including /music
If I add sdc1 /var/files/music how does it affect the mount point of sdb1
Am I better putting the /music under /var/music instead of /var/files?
View 8 Replies
View Related