I am somewhat of a noob and I am trying to locate a simple linux command that will allow me to take partitions and see what hard drives they are on. I can see the partitions and logical volumes but, don't know who to see which hard drives they are attached to. OS is Cent OS 6.
On my current system I have drives sda, sdb, sdc; 1TB, 1.5TB, 1.5TB respectively.
SATA drive a is where I installed the OS and the other SATA drives b and c are from an old system that was linux software mirror, something I was using to play and learn. Now I have added b and c to my current system and before doing so I stopped the mirror and removed the partitions. I added the drives to my current system and used cfdisk to create one partition on each and then mounted the new drives. I then run ls and I see bin/....etc. listed in the new drive. Is this normal or when I create the new drive partitions should I use Logical instead of Primary.
Is there a way to get my drives back to non raid that I have missed doing?
Thanks
Hi all,
As you can probably tell I am new to Linux and new to the forum, I am using Kali and Mint both as live Linux environments on USB drives, all is good and I am finding my way around, the reason for the post is that I need to copy 15 CF cards that have multiple partitions, Windows isn't really an option as it can only see one partition on a removable drive, so here goes with Linux.
The CF cards contain Windows Embedded XP in one partition and a separate partition for user data which isn't protected, not that the contents matter, only the fact that it is bootable with multiple partitions, the object is to upgrade the old 2gb cards to 4gb cards to add an additional program on the embedded drive, but they are both full.
as long as I can copy both partitions over the partition size doesn't matter as I can resize that if necessary, but I need both partitions to copy over to the new drive.
I have read that dd command is the way to go but cant find much on multiple partitions which display in Linux as two drives, so how do I go about this, any pointers
Ideally I would like to automate the process as this is something that we could end up doing on a regular basis, I have seen a USB drive that was plugged into a PC and through a basic GUI allowed you to copy a HDD but I don't know If that would do both partitions, something for the future?
Hi, all, I am new to the forum and quite new to Linux, I am running Mint and Kali from a USB drive, all is going well with with the software and I am starting to find my way around it.
So, now to my question, I have 15 machines which all run from a CF card and the card has multiple partitions and is a Windows Embedded XP, not that the operating system makes any difference, I need to upgrade all the CF cards from 2gb to 4gb, so unfortunately Windows isn't an option to use to copy the drives as it doesn't recognise multiple partitions on a removable drive, so I cant just remove the drive, clone it and fit the new one.
What I need is a method of cloning the drive completely with both partitions, I have read about dd but cant seem to see anything about doing this with multiple partitions, as Linux sees it as two drives when I plug it in, how can I use dd or anything else to clone the drive which is bootable and has two partitions?
At some point I would like to automate the process as I could have many of these machines/drives to upgrade, is there a way to write a program that will automatically back up the drives from a USB drive and then reinstall it, I have seen this done before but I am not sure if this method did the whole drive, just the main drive or all partitions?
I have a machine with two drives a Compact Flash card (CF) and a Solid State Drive (SSD). Recently I have been experiencing failures of both the SSD and the CF.
When I sent these back to the manufacturer for analysis, they reported that the SSDs and CDs are healthy - but that it appears that the partition table has become corrupt.
Using a Kickstart I created my Linux machine with the partitions split over the CF (to hold the operating system) and the SSD (to hold my data):
/ on the CF
/boot on the CD
/usr on the CF
/home on the SSD
Would Unix have an issue with using the CF to boot and run the operating system and using the SSD to store files?
Has anyone experienced any issues of this kind?
I am trying to configure a Raspberry Pi to run as a file server, have installed SAMBA and have attached a 1TB external hard drive, which appears to have 4 partitions. Using Xwindows, I thought I had the advertised share mapped to the 1TB partition. So I physically placed the Pi in its permanent home (where it is difficult to get its video signal to a monitor etc.), so help with command line tools is best for me.
My problem is the share is acting like it only has about 2GB of space. And I am not sure why the mount command does not show me the partition.
I have attached to this post some output which has me baffled.
Thanks
Jonathan
Hi all. My first time post and very new to linux.
I am using linux Mint Debian version.
My goal is to auto mount 2 external harddrives (Each hard drive is 2TB) attached to the 2 usb ports on my asus wireless router model rt-n56r.
I have succeeded in auto mounting my first drive HDD1 by configuring fstab file:
//192.168.1.1/HDD1 /media/public cifs username=**,password=**,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
At boot this partition is mounted without issue.
In attempting to mount the second hard drive HDD2 I added another entry in fstab as follows:
//192.168.1.1/HDD2 /media/public cifs username=**,password=**,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
It appears that both HDD1 and HDD2 mount however, when entering the partition only files and directories of the second hard drive appear.
So I changed the mount point in the second hard drive to reflect /media1/public1 and after the configuration neither hard drive appears to have mounted.
I tried using UUID instead of path to partition but cannot get even 1 attached hard drive to mount.
I appreciate in advance the help and assistance to my query.
The local provider has given us a fixed IP so we can have a web server for the car club's domain.
I will be using a Dell 2400 desktop computer with a 1.8 GHz Pentium 4 processor, 1 GB RAM, 40 GB hard drive and a DVD drive.
I want to use command line, not GUI and FTP the club's car pictures from my home.
My only Linux experience was sparse use of Red Hat 2.05 which is now 15 years old and not secure.
If the structure and folders are the same, Can I use CentOS 5.11 or 6.6
Thank you,
people call me Cousin
Hey guys, im a long time Mac user but I want to have a Linux computer in my office for web based stuff and fixing hard drives.... I'm going to buy a used computer from eBay to install my Linux software as I believe that Linux is a lot faster than Mac or windows and doesnt need the latest hardware to compete.
In order to be at least as fast as a windows computer but no more than $100. What range of computer should I be looking at? What specs should I look for? And once I get it should I run Ubuntu or mint for web based things and hard drive repair? As you no doubt know, the Linux lingo is a bit difficult sometimes so please bear with me. I'm doing the best I can.
Weird question I know, but I'm sure you know what I mean.
Even though they are on the same Volume Group?
I'm still having a hard time understanding this.
Let's say for example, that I have the following:
Code:
# df -ha
VolGroup00/LogVol2 /tmp
VolGroup00/LogVol5 /opt
VolGroup00/LogVol3 /var
I have three different Logical Volumes where /tmp, /opt and /var live. Are these separate like a partition that one would place on a physical disk?
Keep in mind that they all are on the same Volume Group as well?
Hi All
Please could someone assist me with a software raid 5 array issue i am having?
About a week or so ago i was asked to have a look at a mate of mine's Company Server that had crashed after a power failure - no ups and close to 9GB data with no backup.
HP Proliant mini server running OpenMediaVault v1.9. with a software raid5 setup consisting of 4x 3TB Western Digital Hard drives
The 80GB boot drive crashed (hardware malfunction) so i replaced it and installed the server with OpenMediaVault 1.9 as was previously installed. When starting up however i noticed that none of the shares were available and upon closer inspection discovered that the raid to had crashed. I therefore re-assembled the raid but now have no file system nor any partitions on any of the 4x drives.
This is about the extent of my knowledge base when it comes to Linux, and again i don't know that i'd want to risk it with no backup of the data.
I have run fsck /dev/md1, but this reports an error 2 while executing fsck.linux_raid_member not found.
Please i am desperate for some advise!
Thanks
Wayne