General :: Associate A Physical Disk Partition With Directory?

Dec 14, 2010

i would like to determine the hard drive partition associated with a directory. ie i have a disk partition as user with mount point Home. this i think contains my Home directory. a downloaded program resides in /usr/bin. now there is a /usr/local/bin with nothing in it. my question is how can i tell what disk partition /usr/bin resides on. if it is on my user defined partition i will not lose the program on a system install i think?

View 5 Replies


ADVERTISEMENT

General :: Extending Partition Into Another Physical Drive?

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

General :: Free Up An LVM Logic Volumn Into A Physical Partition?

May 13, 2010

In my computer there is only one hard disk with two partitions. /dev/sda1 is mounted as /boot, while /dev/sda2 is used as LVM. In that LVM partition I have only one logic volumn group with several logic volumns. One of the logic volumns is mounted as /data, and now I want to remove this logic volumn, free up the space and make it another physical partition outside LVM as /dev/sda3. Can someone help me on this, especially the procedure of steps I should go through ?

View 7 Replies View Related

General :: Read The Contents Of A Physical Disk That Was Part Of A Larger Logical Volume?

Mar 17, 2010

how easy it would be to read the contents of a physical disk that was part of a larger logical volume. The disk contains a "Linux LVM" partition that spans its entire size. My problem is that one of my disks died, and I have to send it back for a warranty replacement. However, the disk is dead, and I can't zero it out. I'm just trying to assess how difficult it would be (or at least how likely it would be) for a tech that's checking out the disk to get at the data.

View 4 Replies View Related

General :: Mounting - Checking Or Reading Partition ( Probably A Physical Damage )?

Mar 21, 2010

I have a problem when trying mounting, checking my ext3 partition. Is a external HD with my "portable" Linux system. Suddenly started to fail, when I try to boot it, the GRUB can't locate the config file, and show me the command line. I boot from my internal HD and try to mount it and have this messages.

Code:
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] Unhandled sense code
sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 2:0:0:0: [sdb] Sense Key : Medium Error [current]
sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error

[Code]...

1.- What exactly is in this first sectors (ext3 metadata?)

2.- Is there some way to fix this quickly, maybe with some "sectors relocation", Or re-create the first logical sectors.

3.- If not, who could i make a full backup (something like dd copy), of all the partition.

4.- How fix it?, even with a long prosses, i don't know, maybe backup the file structure (with forensic tools) and copy into a new (and re-located) partition. This is my last option because the forensic tools sometime can't recover all files and sometimes only parts, or very old files.

View 7 Replies View Related

General :: Windows 7 Disk Management Utility Doesn't Show Disk With Ext3 Partition

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

General :: USB Flash Disk Partition Disappeared As Well As Partition Table?

Feb 17, 2011

USB flash disk partition disappeared as well as partition table I'm not sure about the cause

Code:

root@u# less /var/log/syslog
usb 5-1: New USB device found, idVendor=058f, idProduct=1234
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[code]....

Where did the partition table go? The device had one ext3 partition something around 4GB(size of USB storage device). I need to restore few files from this device.

View 3 Replies View Related

Ubuntu :: How To Identify A Physical Hard Disk

Feb 23, 2010

I have a 4 disk software RAID array made up of Seagate drives. Let's name them sda, sdb, sdc, sdd. And let's say SDC is failing. Big question. How do i find out which of the 4 physical drives it is? They all look the same to me when i open up the PC case. Maybe some utility which will load up heavy usage on just one drive and i will try to put my finger on them and figure out which one is vibrating? Or maybe there is a smarter way?

View 1 Replies View Related

SUSE :: How To Determine Physical Boot Disk

Feb 19, 2011

I want to create RAID disk on machine_2. Next, I want to replace one of the RAID disk from machine_2 to with the RAID disk from macnine_1. Then I want to build the RAID disk from machine_1 with machine_2 data. This is my question:

How to determine the physical drive the system boots on in a RAID array?
Or
How to determine the RAID disk from machine_1 in machine_2?

View 2 Replies View Related

Server :: Actual Physical Disk Size

Mar 9, 2011

I am trying to figure out the "actual" disk size used by my system. When I run the "df -h" command,I am not taking here into consideration the shared memory of 2Gb as it is a sort of virtual shared memory and is not allocated physically. Is that correct ?

View 8 Replies View Related

Software :: Extend Physical Volume Disk Space From One To Another?

Sep 16, 2010

Is is possible to extend physical volume disk space from one to another?

Quote:
PV VG Fmt Attr PSize PFree
/dev/sda1 Zeus-extra lvm2 a- 149.05G 17.05G
/dev/sdb1 Zeus-misc lvm2 a- 394.96G 274.96G

Could I get 50GB from /dev/sdb1 and add it to /dev/sda1 ???

View 1 Replies View Related

OpenSUSE Install :: Convert Virtualbox .vdi To Physical & Bootable Second Disk

Mar 7, 2009

Ive been running VirtualBox with a windows XP installation for some time, on an opensuse 11.0 host for some time. Recently, however ive been having issues with suse, and want to take my virtual XP and make it a primary bootable physical partition, on a second disk

I know it can be done, but im not finding how exactly.

What ive tried so far. I've taken VBoxManage terminal tool and converted the VDI to a .img file, and tried to move that to my second physical disk, but it didnt work at all.

After some thinking, I booted to acronis true image within my virtual machine, and cloned the C:/ drive of windows over to my second hard drive. That got me further, but doesn't boot fully. Comes up to windows xp logo, and black screen boot loops.

Ive heard about using vditool to create a .raw file, and then go from there, but im at a loss to find vdi tool

How can i move my virtual machine to a physical, bootable partition on a second drive?

View 7 Replies View Related

Ubuntu Installation :: Installing From Virtual Drive To Another Physical Disk

Aug 17, 2010

I am currently using windows xp, but I have acquired another hard drive and wish to install ubuntu to it, unfortunately i do not have a working cd drive. I have loaded the newest iso in daemon tools and it asks me if i want to install it in windows, or restart my computer to do a full install. i wish to do neither. i want to install a full copy to my other drive with the virtual cd drive. I have found alot of help dealing with installing it on the same drive as windows or something that would require a floppy drive. this task seems like it would be alot simpler than installing on the same drive, buy maybe not. Did i miss a tutorial somewhere?

View 2 Replies View Related

Ubuntu Servers :: Raid Failed - Missing Physical Disk?

Nov 23, 2010

My raid array has failed. I have two disks /dev/sda and /dev/sdb./dev/sdb has failed and I could not rebuild the array(madm returned that the device is busy) so I rebooted the machine. After that, the whole sdb disk went missing, as it now only shows sda in fdisk -l.Did the disk went totally dead or my raid glitched?

View 8 Replies View Related

Fedora Installation :: Partition Does Not Start On Physical Sector Boundary?

Aug 22, 2011

fdisk -l: Disk /dev/sda: 750.2 GB, 750156374016 bytes.

[Code]...

I've tried other installations, but I always get errors like this. /dev/sda 5, 7 and 8 are occupied by PCLinuxOs. /dev/sda 9, 10, 11 and 12 by Fedora. I made room for Linux installations by GParted (last version). Really, I made no errors. The installer of PCLOS is a bit strange: it changed the NTFS partition sda5 in sda 6! In a previous installation with Fedora and Kubuntu only the extend partition sda 4 complained about not starting on physical sector boundary. The hard disk is Western Digital with Advanced Format. Probably this is the cause of the problem. The systems are snappy and responsive. I do not encounter any problem. What to do? Ignoring the problem or reinstalling? May be it would be better to get rid of PCLOS and to dual boot Windows with Fedora?

View 5 Replies View Related

Ubuntu Installation :: Accidentally Deleted Partition Table On Lvm Physical Volume.

Jul 18, 2010

I was trying to remove the physical volume from an old drive. So I opened gparted and told it to rewrite the partition table. The only problem is I targeted the wrong volume, I wiped the partition table on my 4tb raid5 array This 4tb array has everything! All my movies, tv shows, music. The only things I have backup up off site are my smaller files like documents. I was about to lose my whole media collection.

I did some research and found a solution that I will post here in the hopes that someone will google "I deleted the partition table on my lvm" and be find the solution.You should find in your filesystem a /etc/lvm/backup folder. LVM puts a copy of the crucial lvm information there every time you change the the volume group.

In this folder you will find a file for each volume group. In this file you will find the uuid for all of the physical volumes that make up that group.The first step is to recreate each physical volume with their original uuids. In my case I had only 1 physical volume, which was my raid5 array. My recreation command looked like this:

pvcreate --uuid cLrY02-zrVi-D0Vi-cIPB-6fF5-ed0c-XFF0os /dev/md0

Now I have a physical volume with the same uuid it had before. It is essential that you correctly match up the uuids with the correct physical deviecs.The recreated pv is empty, the volume group needs to be recovered. This is done by using a special tool and the backup file. For me the command looked like this:

vgcfgrestore --file /etc/lvm/backup/raid5 raid5

This tells it to recreate the volume group using the information in the backup file. The backup files looks for the uuid of the PV, which now matches the correct volume. The coordinates in the backup file match up to the data on the array an suddenly everything is back!

When I deleted my LVM partition table I did not damage any of the actual volumes on the volume group, I just wiped out the table of contents. The backup file had the information needed to rewrite this table of contents.

View 1 Replies View Related

General :: Getting The Disk Usage For Certain Files Per Directory?

Mar 25, 2010

I am trying to get the total file size for certain files per directory.

I am using

find `pwd` /DirectoryPath -name '*.dta' -exec ls -l {} ; | awk '{ print $NF ": " $5 }' > /users/cergun/My Documents/dtafiles.txt

but this lists all the files in the directories.

I need the total per directory for all dta files.

View 2 Replies View Related

General :: Moved To Ssd - Booting - Won't Make The Root Directory On The Right Disk

May 8, 2011

I have successfully migrated my linux install to a new /, /home, /boot partition on my ssd. Everything works fine, except that it won't make the root directory on the right disk. When I change the root=uuid=<drive id> to my new drive everything is fine, but I can't automate that... in other words I have manually typed the uuid of my root-partition for about 100 times now and I am fed up with that how I can save the uuid of my new drive in the startup parameters?

View 2 Replies View Related

General :: Extend A Partition Using One Disk

Apr 27, 2011

I would like to know if is possible extend a partition using one disk. I have 50 GB on /dev/vdf2 and would like to add on:

/dev/vdc1 50G 6.4G 41G 14% /home3

And this partition will have 100G of space..

View 9 Replies View Related

General :: Disk Quota Set On Partition

Mar 14, 2011

When going through my emails that are produced by the cron jobs ran on my Solaris servers, I am receiving a message that states,"/ is 50% full" what can I do to either lower the amount of data on this partition or raise the threshold limits to to stop this message? I would prefer to learn how to lower the amount of data on this disk to bring under my disk quota of 50% in order to stop these emails being produced by the cron job running on this server.

View 1 Replies View Related

General :: Freezing During Disk Partition?

Mar 6, 2010

I'm trying to dual boot pclinux2009 with vista already installed on an acer laptop, but once i get to the partition part of the linux installation the laptop freezes.

View 2 Replies View Related

General :: Move The Srv Directory To Another Partition?

Jun 28, 2010

When installing Ubuntu (10.04) I chose the /home to be installed in a separate partition.I would now like to move the /srv directory into the same partition. The problem I found is that Ubuntu did not make a /home directory inside the partition itself. It just places the account directories in the partition and mounts it to /home. So I cannot just easily move the /srv folder into the partition.

How can I:

Move those account directories into a home folder inside the partition Make that new home folder the default /home folder. ditto with the /srv folder, or any I choose in the future.

View 3 Replies View Related

General :: Identify Two Scsi Devices - Which Disk Corresponds To Which File In /dev/ Directory

Mar 24, 2011

Suppose during a script execution I am attaching one or two new disk having different vendor id to host machine, how do I know which disk corresponds to which file in /dev/ directory? i just want to perform some operation on those device from some script, how will i know which file in /dev directory correspond to which disk(having same size but different vendor id).

View 1 Replies View Related

General :: Resize A NTFS Partition In A Disk?

Feb 1, 2010

I need to resize a NTFS partition in a disk for which I have an image (dumped with dd).

I mounted it through the loop device on linux:

# losetup -o 32256 /dev/loop0 disk.img # I got the offset from looking at fdisk's output
# mount /tmp/t /dev/loop0
# ls /tmp/t
[content of NTFS partition shows correctly]
# umount /tmp/t
# gparted /dev/loop0

gparted shows me the disk correctly; it just contains one large NTFS partition I want to shrink.

I have it had it running for one hour now.

Question: will this work? There is lots of disk access but the timestamp and size of the underlying file disk.img remain unchanged.

View 1 Replies View Related

General :: How To Make Partition Which Is In Ext-2 Writable Disk

Apr 13, 2010

i have debian system in which i have mounted the OS on a ext-3 system . I have got a partition of 60 gb , which is formatted to ext-2 partition . Even if I mount , i cant write anything into it . How can i change that ? How can I make the disk writable?

View 2 Replies View Related

General :: Disk Space Used On Empty Partition?

May 26, 2009

The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the partition has 92MB used. How is this space being used, and how can I free it up?edit: I guess this isn't a newbie question.

View 7 Replies View Related

General :: Disk Management - Resize The Partition

Mar 30, 2010

OS: LINUX RHEL5

I want to resize the partition

for example..
my
/u01 is 50 gb.
/u02 is 30 gb.

i need to risize /u02 to 100gb( i have space left of around 60 gb and I need to take 10gb from /u01)

View 1 Replies View Related

Ubuntu Installation :: Install Latest Ubuntu With XP SP3 Dual Boot Same Physical Disk Or Separte?

Oct 26, 2010

I was going to go ahead and intall Ubuntu 10.10 on my Windows XP w/sp3 Machine for a dual-boot config. I've done this before without issues but want to see what setup is Optimal giving my current disk drives.Here's my current setup in this picture. You can see I have my windows on Disk0 C: and the other 38GB on this drive Unallocated.

My other 80GB drive has Two 40GB windows file systems but I could erase one of those (Disk I to install Ubuntu on. Does it really matter? From what I recall Grub takes over fine and manages the boot. Thanks for any tips before install. Should I install on Unallocated on Disk0 or free up unallocated space on Disk1 for Install? thx

View 4 Replies View Related

General :: Move The Home Directory To Another Partition?

May 25, 2010

I created a partition in my hard disk for my data (documents, multimedia, etc.).How can I:Move the /home/ directory to the new partitionMake the OS (Ubuntu Linux) treat that directory as the default /home/.

View 1 Replies View Related

General :: Copy A Partition To A Directory, Then Mount It?

Sep 4, 2009

i've been getting into problems trying to move around my partitions, by copying them to a directory on a partitions with alot of extra space, then mounting then with --bind. i think it's todo with the permissions, like i can run gdm for the gui but i can't login.startx doesn't work though, gives me some errors but i don't know alot about x windows. but like the partitions are mounted, but just the system doesn't work properly with them this way?this is my method

Code:
rsync -aHPvx /usr/ /store/usr_proxy
then in fstab
Code:
/store/usr_proxy /usr ext3 bind,defaults 0 0

View 2 Replies View Related







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