Ubuntu :: Tweaking LVM2 For 4K Drives ?

Mar 18, 2011

Preface: I have just bought two new WD20EARS hard drives and have added them into my LVM and moved all my data from my old failing seagate drives to my new drives. I also have a WD10EARS in the LVM.
These are WD Caviar Green Power 4K hard drives.

Using Ubuntu 10.10 64bit and LVM2, everything is working but I want to know if I can tweak it for more performance. I am relatively new.

Questions:
1. How can I check if the 4K drives are aligned?
2. How can I check what block size LVM is using?
3. I didn't partition one of the WD20EARS when adding it to a LV, will this be problematic or effect performance? Can I partition it without losing the data that is on it now?
4. I heard XFS is better than EXT4 for large files and people tend to suggest using certain formats when they're talking about LV's, if I check the format of any of the hard drives it says they are lvm2...?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Tweaking Executable Text Files

Mar 3, 2011

is there a way to directly open the executable text files in ubuntu without that annoying msgbox asking us to display or run in terminal mode...

View 1 Replies View Related

Ubuntu Networking :: Tweaking For Optimal Connection Speeds?

Oct 29, 2010

I'm wondering if there is anything I can do to get the best speeds possible. I pay for 16mb/s connection (with charter) and I was getting about 4mb/s. After upgrading firmware, and changing some encryption settings on my router, that went up to about 6mb/s. It's improvement, and I'm happy with that, but I'm looking for that 10 more mb/s

So, is there anything in Ubuntu to tweak to optimize connection speeds? Also, if it affects anything, I'm using a linksys WRT320N router. I was going to use the 5.0ghz band, but my wireless adapter is an 802.11gb, so I'm stuck with 2.4.

View 1 Replies View Related

Ubuntu :: Tweaking Nautilus' File Sorting Order?

Dec 31, 2010

I've recently switched from Windows to Ubuntu and have a question regarding tweaking the character order Nautilus uses for alphabetical sorting. In my music/graphics/etc folder hierarchies, I have used a hyphen at the start as a 'hack' to 'sticky' some folders above the rest for quicker access. This worked fine in Windows, but Nautilus ignores a hyphen in it's sorting calculations. Is there anyway, simple or complex to replicate this behaviour in Nautilus?

View 4 Replies View Related

Ubuntu Installation :: Install RELEASE And Software Manager Are Tweaking Out

May 26, 2011

I installed Natty Narwhal from a pendrive I set up, which was a bit of a messy install to begin with. However, after booting into Ubuntu, this application called "Install RELEASE" appears. When I run it, it shows up just like I'm installing Ubuntu again. After following it through, it will stop and say that it must unmount /. It offers two options, Go Back, or Continue. Picking either does nothing. This hasn't seemed too big an issue. I can still run it fine. However, the Software Centre is an issue. Whenever I try to download something from it, I get this error:

[Code]...

View 3 Replies View Related

OpenSUSE Network :: Samba Setting Up And Tweaking

Aug 19, 2009

i'm following the tips from Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 10, 11 to set up samba and tweak it to my needs.

View 9 Replies View Related

OpenSUSE Network :: Tweaking Up Networking 11.4 & Windows Xp

Aug 31, 2011

I followed this article How To Network openSUSE 11.4 And Windows to network wired (ethernet) windows xp and wireless opensuse 11.4 and everything is working great. i can see windows from opensuse and opensuse from windows but have a few questions.

First, when i got to the section to Open firefox or Konqueror and in the address bar type localhost:901 and press the Enter key in articles photo it shows i should have, home-globals-shares-printers-wizard-status-view but i only have home-status-view-password in my firefox when i typed localhost:901, is that all i should have?

View 9 Replies View Related

Server :: Tweaking Rsync Script - Need Few Extras

Jun 25, 2010

I have a script that runs my daily rsync, I would like to expand it to email the output, and on a fail, an alternate email address. Also I would like to have the seconds converted to HH:MM:SS if it's not a big deal. What I have so far is the extent of my abilities.

Code:
start=$SECONDS;
if rsync_output=$(rsync ...
then echo Success;
else echo Fail;
fi;
echo "$rsync_output"
echo time in seconds =$((SECONDS-start))

View 1 Replies View Related

Software :: REQ:Program For Audio And Video Tweaking?

Dec 25, 2010

Is there a linux program I can use to extract audio, tweak it and then re-insert it into the video portion? I guess there will have to be a way to also sync the audio and video.

View 2 Replies View Related

Fedora Installation :: Tweaking Preupgrade To Do An Installation Instead Of An Upgrade?

Nov 19, 2009

I was wondering if there was an easy way to do a fresh install from an old Fedora without using any media ? Maybe there is a possibility to boot the netinstall.iso from grub ?Or tweaking preupgrade to do an installation instead of an upgrade..

View 1 Replies View Related

Ubuntu :: How To Resize Lvm2 Partitions

Jan 7, 2011

I recently installed fedora on my system along with windows in a dual boot unfortunately, the fedora partition is too big and is taking 80% of my disk space. lvm2 volumes are not recognised by windows so i decided to shrink my fedora lvm2 partition and create a new fat32 partition to store common data. i tried gparted from my ubuntu 10.04 CD but it was unable to resize the partition can someone suggest to me a GUI tool which could do the the resizing of an lvm2 partition?

View 1 Replies View Related

Ubuntu :: How To Mount Lvm2 Partitions

Feb 7, 2011

I have ubuntu installed on 2 hdd. one of my hdd is having a lvm. I am unable to acess the home partition created in this lvm from my other hdd. in fact it is not shown at all inside the explorer window, the whole lvm block itself. if u run disk utility that also does not show the lvm partitions as mounted. So what are the steps required to be done to access those LVM partition from the other disk.

View 1 Replies View Related

Ubuntu Servers :: LVM2 Does Not Recognize /dev/md1

Jun 26, 2011

Recently I have upgraded my home file server from ubuntu 10.10 to 11.04. I found my LVM+RAID5 does not work any more. Here are stuff I have explored so far

$sudo lvdisplay
--- Logical volume ---
LV Name /dev/fsvr_main/var

[code]....

I don't know where /dev/md1p1 come from and why /dev/md1 is not recognized by lvm any more.

View 5 Replies View Related

Ubuntu :: After Upgrade To Lynx None Of Of External Drives Cd Drive Or Flash Drives Are Pick?

May 9, 2010

upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil

View 9 Replies View Related

Ubuntu Servers :: RAID-1 OS Drives - Setting Up A Backup Procedure For The OS Drives

Jan 18, 2010

I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.

Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.

Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.

View 4 Replies View Related

Ubuntu :: External Drives / Flash Drives And Other Partitions Will Not Mount

Jun 21, 2010

I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.

View 1 Replies View Related

Ubuntu Servers :: Slow LVM2 Lv-to-lv Copy

Jul 16, 2011

I've got three disks together on a *home* server that constitute four LVs.The two are the root and swap LVs installed by the Ubuntu 10.04.2 LTS installer on the OS drive (250 GB VG: Beta). The third & fourth LVs I made of two physical volumes (640 GB and 200 GB VG: Data) and mounted each inside /torrent. All are ext4.

I'm migrating lots of large files from /home to inside of /torrent, but I'm seeing EXTREMELY slow speeds (700KB/s).I'll admit this is my first time using LVM, and I tried it only because of the numerous smaller drives I have sitting around that weren't getting used. I didn't expect such a large drop in speed.

Here's a more technical review of the setup:

Code:

me@Beta:~$ sudo pvdisplay
[sudo] password for me:
--- Physical volume ---
PV Name /dev/sdb
VG Name Data

[code]....

View 5 Replies View Related

Ubuntu Installation :: Virtual Drives To Be Used As Data Drives?

Jan 28, 2010

i have recently setup and installed Ubuntu 9.04 on a virtulal drive usingVMWare 6.04, installed the desktop gui as well, I need to add other drives for data and loggng, which I did in the VMWare side. I can see the 2 drives in ubuntu, but can not access them, I get he unable to mount location when I try. How can resolve this please as I need these to virtual drives to be used as data drives.

View 1 Replies View Related

Ubuntu :: Dual Boot 2 *seperate* Drives \ Several 1.5TB+ Drives, And One Of Them Is Not Being Used?

May 1, 2011

I've used it once before but got fed up with the boot asking me everytime I turned my laptop on because I wasn't using it enough. I have Windows 7 on drive C . I want to keep it on drive C. I have several 1.5TB+ drives, and one of them is not being used. I want to dedicate it to Ubuntu, and be able to do a dual boot with my Windows 7 install. Is this possible? If it is, what about when this drive is not connected to my laptop? Will that mess up the boot process?

View 2 Replies View Related

Ubuntu Installation :: LVM2: Resize The Physical Volume

Apr 11, 2011

I have a 500GB hard disk, /dev/sda. On it, there is /dev/sda1 for /boot, /dev/sda2 for an LVM PV (physical volume), and /dev/sda3 for another /boot (multiple Linux distros, one boot partition for grub legacy, another for grub2). so the LVM2 partition, /dev/sda2, is taking up ~465GiB. I want to add another OS (non-Linux), so I resized the *lvm2 physical volume* to 320GiB, successfully, using pvresize.

However, I now need to resize the partition so the lvm2 physical volume only just fits on it, ie to 320GiB. My plan of action is to use gparted (the partition table is GUID, so fdisk won't work), to first delete the partition from the partition table, then re-add it but this time with a smaller value (~320GiB). The problem is that I need to know exactly how many MiB/cylinders the physical volume is taking up. So, I run:

Code:

root@sysresccd /root % pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name vg0

[code]....

What one of these values do I need to set the new lvm2 replacement partition to?

View 7 Replies View Related

Ubuntu :: Unable To Mount 52 GB LVM2 Physical Volume?

Jul 10, 2011

When I installed Ubuntu, I created an 52 gb encrypted partition which shows up in the disk utility, and in the window that opens when I click on the "home folder" icon. I get my normal windows partition, and under that the 52 GB LVM2 partition. But when I try to access it, I get this error.

Unable to mount 52 GB LVM2 Physical Volume - not a mountable file system

This is what fdisk -l shows

Device Boot Start End Blocks Id System
/dev/sda1 * 1 52 409600 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 52 30452 244193280 7 HPFS/NTFS

[Code]....

How can I fix this, and be able to access that 52gb partition? This is only my second day that I work with Ubuntu, so If more information is needed then let me know

View 9 Replies View Related

Fedora :: Install Grub2 On LVM2 ?

Nov 26, 2010

I have a working Fedora14 system. /boot is on sda1.

Here is my system:

Code:

I would like to install Grub2 to have /boot in LVM2 as well. Is there a guide for it or can someone help me with this task?

View 5 Replies View Related

Debian :: How To Resize Partitions With LVM2?

Feb 20, 2010

Can someone help me understand by giving me the commands I need in order to shrink my "debian-home" logical volume by 10GBs and increase the size of my "debian-root" logical volume by that same 10GB of data? (Everything in that computer is ext4 including the /boot ... physical volume? (I think that's what it's called))I would REALLY appreciate it if someone could just give me the exact or approximate terminal commands that I would need to use. I assure you, I will never forget them

View 4 Replies View Related

General :: Shrunk A LVM2 PV, Now Can't Do ANYTHING To Lv_root?

May 11, 2011

I did all the fsck, resize2fs, lvresize, pvresive, parted, etc. stuff and was very careful about what I was doing, but clearly wasn't careful enough. I did backup lv_root to another drive with fsarchiver before I buggered things up, but I can't restore it because, well... I don't know! At this point I'd really just like to wipe the drive I messed up except for /boot and start over but I don't know how to do that when the system seems to think the drive is mounted when it ISN'T.Here's some info:- device is /dev/sdb with sdb1 as /boot and sdb2 a lvm2 volume group containing lv_root and lv_swap -- it was a default Fedora 11 installation that used up the whole drive- i did nothing to /boot and it seems to be fine, grub loads, choosing Fedora 11 shows the logo but quickly becomes a black screen, choosing Fedora 15 Live USB that I originally added from Fedora 11 works just fine (currently trying to fix things from Fedora 15)- i deleted and recreated lv_swap and it still shows up in /dev/vg_box- i shrunk lv_root and the filesystem is within the right size of the lv, which is within the right size of the pv, which is within the right size of the partition, which i made sure i used the right sectors, but lv_root does not show up in /dev/vg_box.

- lvscan says both lv_swap and lv_root are active but lvdisplay says lv_root is "NOT available"- system thinks /dev/sdb2 is mounted even though it ISN'T and can't seem to do ANYTHING to it because of thislvchange -ay /dev/vg_box gives:

Code:
device-mapper: resume ioctl failed: Invalid argument
Unable to resume vg_box-lv_root (253:2)

[code]....

View 3 Replies View Related

General :: LVM2 - Adding And Removing PV

Sep 14, 2009

My Linux OS is mounted on a LVM spread across an 8GB SD Card and a 4GB Flash Drive. I've used about 6GB and have about 2.xGB left. I'm trying to download Sabayon and I don't quite have enough space to store DVD size ISO. I have extra 2GB Flash Drive that I am not using and can converted to a PV and that would give me the necessary space I need to store the ISO. Now the ISO would spread from 4GB Flash to my 2GB Flash. My question is complicated, so bare with me. I want to know by adding 2GB PV into LogGroup and then remove it from the same LogGroup and then added back later. Would the data still exists and accessible? What happens to the data when I remove it the first time, would be automatically deleted, or stay hidden to plug back in?

View 4 Replies View Related

Software :: LVM2 - Recover LV_BACKUP ?

Jun 21, 2010

Yesterday I had a functioning system but needed to do an reinstall of ubuntu because of missing dependencies. Then I installed /dev/sda5 as normal (no lvm) When I ran vgchange -ay after installation it did not find my missing logic volume. Instead got a whole bunch of error messages. I googled and followed the advice below vgreduce --removemissing UBUNTU. I did this vgreduce command because when running pvs I got /dev/sda5 unknown device.

Read LVM HOWTO, but I dont understand this part. How can I know which pvs belongs to which LV "Use pvcreate to restore the metadata: pvcreate --uuid "<some_long_string>" --restorefile /etc/lvm/archive/VolumeGroupName_XXXXX.vg <PhysicalVolume>" below:

Code:

View 3 Replies View Related

Server :: Debian RAID 10 Spare Drives Versus Active Drives

Jun 9, 2011

so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?

root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]

[code]....

View 2 Replies View Related

Server :: 2 Separate External Hard Drives With ESata To Minimize An Electrical Failure To The Drives?

Mar 26, 2011

I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data

View 10 Replies View Related

OpenSUSE :: Lvm2-clvm Will Not Install On 11.3 X86_64

Jan 4, 2011

Running 'zypper install lvm2-clvm' results in a message: Resolving package dependencies... Problem: nothing provides libcpg.so.2()(64bit) needed by lvm2-clvm-2.02.45-16.2.x86_64 Solution 1: do not install lvm2-clvm-2.02.45-16.2.x86_64 Solution 2: break lvm2-clvm by ignoring some of its dependencies So it cannot find the cpg library, which appears to be a part of openais (if I believe google). I have configured the following repositories:

[Code]....

What could be the problem here? Am I just missing a repository or is cluster LVM not supported on opensuse 11.3?

View 9 Replies View Related

Server :: Maximum LVM2 Logical Volumes ?

Sep 15, 2010

Are there any maximum amount of logical volumes a LVM2 volume group can contain?

View 1 Replies View Related







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