General :: Access Lvm Disk With Same VG Name As Current?
Nov 22, 2010
I reloaded my PC onto a new disk then put the old disk back in the PC to recover old files. I kept the same pc name. The OS setup routine appears to have used my PC name (stiffler) to create the LVM names.
[root@stiffler ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg_stiffler lvm2 a- 232.31g 0
/dev/sdb2 vg_stiffler lvm2 a- 232.63g 0
So the volume group name on both of my disks has the same name!
I'm booted to the correct one, but I would like to access the second one.
How do I rename the other one so I can gain access to it by a unique name!?
View 1 Replies
ADVERTISEMENT
Mar 29, 2010
I want to learn linux source code means I want to understand source code. How can I access that code in my current linux distribution? I know c,c++.
View 2 Replies
View Related
Dec 11, 2010
I do a bit for for local charity that refurbishes and repairs computers, the proceeds going to 'steps' at Bolton. A donation of several sas hard drives has come in and I have got the job of wiping the data before re-sale. I have got a sata adapter and been using a live cd/dvd to access said drive but the nearest I've got is for the live disk (cfdisk) to recognise there is something there although it cannot read it. Any suggestions? Or do I need a special motherboard or O/S?
View 4 Replies
View Related
Feb 18, 2010
I had very recently installed a new hard drive on my laptop. After installation, I tried to install linux from the CD and followed the instructions. I did not create a partition in the hard drive and carried out the installation procedure. After installation, i tried to start but it would not start...and shows error. I am not sure what I should do ...please instruct me in a step by step procedure to solve the problem
View 1 Replies
View Related
Feb 12, 2010
is there a way to access disk druid once all of the partitions have been created in rhel 5.3?
View 3 Replies
View Related
Feb 7, 2011
I would like to copy my system into a DVD that I can later use as a bootable disk. Having such a disk could be handy, as it would contain current software upgrades.
View 1 Replies
View Related
Feb 20, 2010
I am trying to port the current Fedora4 system to the CentOS5 on a new hard disk. Actually, the Fedora4 system is constantly being hacked due to my lazy update. So i prefer a fresh install of CentOS5. I am not clear what files need copy and what does not need for ease and for avoiding possible backdoors.
View 5 Replies
View Related
May 20, 2009
Well i started out with installing fedora on my USB stick. I have now installed Fedora on a intern hdd. How can i access ALL the files there's on the usb? They are both Fedora 9, and i know the password for root on both systems.
View 5 Replies
View Related
Jul 29, 2010
I am trying to make my computer an access point for a PS3 to connect to directly. I'm not too bothered about it behaving as a router, just a direct connection would be sufficient. I have installed hostapd from slackbuilds.org and followed the guide given at [URL]. Hostapd seems to work ok - it creates a new interface called mon.wlan0 and I can see the access point from my netbook but I can't connect to it. I think the problem is with dhcpd. Here's my /etc/dhcpd.conf:
[Code].....
View 1 Replies
View Related
Feb 11, 2011
Is it possible to change my current nautilus window to have sudo capabilities,? e.g. to delete locked files. It may be lazy but if it takes a lot of navigation then it would be handy to somehow activate sudo from the open window without the terminal command (gksudo nautilus) which always begins at root.
View 5 Replies
View Related
Oct 3, 2010
Every now and then my USB disk drops out and I get the following errors in dmesg:
But when I unplug it, and plug it back in do dmesg | tail, it doesn't pick it or any other usb storage device up (nothing comes out of dmesg this time).
So I tried to reload the module:
But as you can see I get the above error message.
They only think that works is a computer reboot (YUK!).
Any ideas:
* how to determine who is using it?
* force remove it
* solve my main issue of usb dropping out.
View 1 Replies
View Related
Dec 21, 2009
How can I access an NTFS formatted disk to read the raw data?I have done this with the FAT file system. I followed the FATspecifications,d I can read the contents of each disk sector.
View 11 Replies
View Related
May 20, 2011
There is a little strange behaviour on my usb disk. Today i try to access it and, when i list directory i cannot find one of them.A result of the command ls -l give me this result for that directory:
<code>
d????????? ? ? ? ? ? directory
</code>
The disk is formatted in EXT3.i try chmod and chown, but the system give me a generic I/O error.The box is a new 1Tb box, ubuntu is 11.04.
View 1 Replies
View Related
May 29, 2010
I use a WD 300 gb usb disk for backup, storage etc. No problems until a couple of weeks ago. I can access it with file managers, gparted, fdisk etc with no problems. But now I am unable to write more than the occasional file to the disk. There seems to be no consistency as to what will or won't write. I get a message that the operation is not permitted. This occurs under either user or root.It happens in both 13 and 13.1. No other issues have come up. The internal hard disk in the laptop remains normal. All other usb periph's are working properly.
View 4 Replies
View Related
Aug 4, 2011
I made a clone of my ordinary disk with Clonezilla some times ago. Now I want to access some files on that cloned disk. Since the cloned disk also has a LVM structure I don't know how to mount it. When I connect the cloned disk I can see both /dev/sdb1 & sdb2. vgdisplay -v gives me:
[Code]...
View 2 Replies
View Related
Feb 8, 2009
It all started when I decided to take the plunge and install Linux, bearing in mind that I am still completely dependent on Windows. I decided to go for Ubuntu, hearing that it is user-friendly and easy to learn. My current machine dual boots to WinXP & Vista. Following the guide regarding pre-partitioning, I decided to delete a partition I no longer use so I can install Ubuntu on there. Using XP's disk management, I deleted said partition, but it somehow also deleted my Vista partition! As a result, I am now unable to boot to Vista. I went back to XP, and ran Partition Magic to fix the partition tables. However, I get an error saying something about the partition's drive letter can't be identified. Decided to resinstall Vista but when it asked me where to install, I noticed that it only shows 3 partitions instead of 4 (my data partition has somehow vanished as well). Then I heard a noise from my HDD, and it suddenly reboots. Decided to log back to XP, but I am unable to boot to XP as well (got BSOD'ed).
Got my XP setup disk to reinstall, but this time, XP setup only recognizes one big partition(250gb).... and below the partition there is a note that says "Setup unable to access disk." I also tried the recovery console, and on the C: prompt when I did the chkdisk, it says something about invalid file path or can't find the path. Tried the Vista install again, it was also unable to access the disk. So what happened? Is my HDD dead? Finally, I thought I'd give Ubuntu a try. Decided to do the "Live CD" first, and wow, nice user interface! Then suddenly, I saw my "data" drive and "winxp" drive! Everything is accessible and all my files were there. I was overjoyed knowing that it didn't wipe out any of my files. So I guess my main question is, should I go ahead and install Ubuntu and will I be able to get those files back? Is there a program similar to XP's disk management? And finally, I know not related to Linux, but how can I boot back to XP?
View 5 Replies
View Related
Oct 25, 2010
I know this is the 21st century, but there are a couple of floppies I needed to access and Ubuntu 10.10 couldn't read 'em. The floppy mounted, but with a disk in the drive I get "Media not found"....well, they work OK on Windoze. I found the solution on another forum. The latest version of udisks doesn't read floppies, but an old version will. You can't downgrade udisks from Synaptic, but there's a guide to downgrade here:[URL]It worked great, even for a n00b like me
View 1 Replies
View Related
Aug 11, 2011
I do not have the machine personally but a friend of mine says her netbook with Linux detects the disk in the bios, but can not access it during the live usb. (but it worked previously). I have confirmed this with fdisk as fdisk detects the other devices as /dev/sdb and /dev/sdc, so it knows there is supposed to be a /dev/sda, but it is not there.
View 7 Replies
View Related
Apr 19, 2010
Quick question - I would like to know how to prevent users from accessing directories above the directory used for ftp. I'm running proftpd and I'm able to connect outside of my LAN, however all user accounts can click "Up to higher level directoy" and access everything, all the way up to the root directory. How can I make this unaccessable/not visible to users connecting to my server, allowing access only to the directories and subdirectories I have specified?
View 2 Replies
View Related
May 8, 2010
i'm having some problems booting ubuntu 9.10 and i just want to backup my files and install it all over again.I want to access my old files from the ubuntu Live CD, because no kernel is working.Is there a way?. Just in case, i don't have partitions, so i don't have a 'home' one (but i'm going to
View 5 Replies
View Related
Aug 23, 2010
On a modern system--Lucid, SATA 3.0--does the location of a file on the physical disk make an appreciable difference to its access speed? If so, is there a (safe) way to put a file in a particular place on the disk?
I ask because I would like to reserve some space on disk to remain unused without messing with the partition table. My thought was to do this by using dd to create some large files (4 Gb each, or so) containing zeros.But obviously I would like to put them on the slowest part of the disk, as they won't be used for anything.
View 2 Replies
View Related
Feb 2, 2011
i have one hard disk drive in my ubuntu second user is cant access that drive so wt to do to give access permission
View 1 Replies
View Related
Jul 16, 2011
I'm running Ubuntu 10.04 as a full install from a USB flash drive. In other words, I've installed to the flash stick just as though it were a normal hard drive. This is not a Live USB/Persistent install.
The drive is an off-the shelf 8GB Gigaware stick, and its read/write performance is pretty slow. Any time I do anything that requires disk access, it's very sluggish and tends to hang.
I'm looking for advice on things I could do to minimize the amount of disk-access made in the course of using the system, so that it will feel snappier and more responsive.
Some things I've done already:Installed 'preload', which is a daemon that monitors what programs you use frequently, and pre-loads them into RAM to reduce startup time. Mounted /tmp as a tmpfs (RAM disk) and moved my Firefox and Chrome browser caches into RAM. Set noatime for my root and home partitions.
Should I be trying to disable the filesystem journal as well? I'm less concerned with potentially burning out the flash drive with too many writes than I am with just making the system more responsive and nicer to use.
One other thing I was reading about is the so-called "Laptop Mode" that appears to be kernel settings to allow you to spin down a laptop hard drive: [url]
Obviously a flash drive doesn't spin, but it seems like some of those same techniques could be helpful here. Is there anyone who has experience running Linux in a situation with a very slow hard drive?
The computers I'm using this flash drive with all have between 2 and 8 GB of RAM, so moving more stuff into RAM is unlikely to be an issue.
View 1 Replies
View Related
Mar 14, 2011
I have successfully set up a multi-seat configuration using 2 nvidia cards with 2 instances of X running at the same time. Thing is now, I can't access my external hard drive or any usb thumb drives I plug in. Normally when they would just open up after I plug them it, I get an error saying "unable to mount, Not Authorized". How I can regain access to this? I am using Linux Mint 10
View 6 Replies
View Related
Mar 14, 2010
I am trying to access data that is on a Raid 5 array in Ubuntu... There are 4 installed disks (250gig disks) - 3 of which are setup as a Raid 5 array (the 4th is active but unused). These show up as one large drive (498gig). I have had an issue with the drive where it is no longer allowing Windows to boot - I receive a disk read error on boot (so the OS does not load, obviously!) - what happened was basically I unplugged then replugged in one of the disks which affected the array... I physically reconnected everything as it was, I then had to 'reactivate' the disk in the Raid BIOS... at that point the array seemed OK, was the right size, etc (and was listed as "Optimal" in the Raid BIOS) however, the problem with the disk read error persists.
I have started the machine using Ubuntu v9.10 from a CD (non-destructive mode) and it shows a disk of the right size (ie: on the desktop and in Nautilus it says "498gig Filesystem" ). However, in Nautilus, the disk appears empty with no folders or files on it (even with hidden files shown).... If I view 'Information" for the disk it shows 67gig used space and 399gig free space (which is correct). Also, if I view the disk in Gparted, it shows a disk with about 67gig of used space and 399 free space on a 464gig disk (with 8gig unallocated). One more thing.... when I try the command 'sudo dmraid -tay' it says that there is no raid disk (there are in fact, no drives plugged into IDE or SATA slots - all disk are plugged into the RAID controller card). Anyway, at this stage, I just want to copy the data to a single hard disk if possible and move on.
View 2 Replies
View Related
Mar 22, 2010
I have xubuntu 9.10 installed I need to access MS word/Excell files stored on a disk-on-key. My system does not seem to notice the D-O-K. I guess i need to mount the DOK and specify the MS filesystem (FAT,VFAT etc) What commands should i use. What is the necessary code in /etc/fstab so that it is mounted on boot
View 5 Replies
View Related
Jun 22, 2011
seems like I killed my softraid. First, my initial setup: 2x 1.5TB SATA disks -> raid1 with mdadm -> lvm -> multiple LVs as luks partition This worked for a while now, even though I made a bad mistake; I created the raid out of the whole disks (instead of creating partitons on them). I didnt notice because it worked...
Now one disk failed, but I could still access the other disk which I moved to another server. mdadm recognized it during boot, after vgscan --mknodes; vgchange -ay I saw the luks partitions in /dev/mapper/ and could mount them via luksOpen. Went well several times, I did not use the disk anymore to avoid killing it also.
Just today when I wanted to move the stuff to my new raid, this way wont work anymore
First of all, dmesg reports a wrong size (500G instead of 1.5T)
Code:
[ 1.943127] sd 3:0:0:0: [sdc] 976817134 512-byte logical blocks: (500 GB/465 GiB)
[ 1.943153] sd 3:0:0:0: [sdc] Write Protect is off
[ 1.943155] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[Code].....
What can I try to get my data back?
View 7 Replies
View Related
Jan 30, 2010
I have a 2GB file which is a dd image of a block device. The block device (a USB-connected flash memory) contains multiple partitions, and therein lies the problem. I want/need to access the various partitions in the image file, but need to do this without actually using a physical flash memory device. If the image was that of a single partition, I could simply mount it on a loop device, and access the filesystem as necessary. However, I can find no kind of virtual block device upon which to write/mount the image.
I've searched the net exhaustively for anything that would seem to allow me to do what I need, but without even a sniff of success. Sadly, I have seen bits of information that suggest "you can't get there from here". Even the outstanding dd tutorial by AwesomeMachine on LQ didn't help. Anyone know of a kind of virtual block device on which a multi-partition image can be written and mounted? Or any other way I can access individual partitions (with various filesystem types on each) and then re-assemble them back to a single image?
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