Ubuntu Servers :: Partition Ends At Total Number Of Cylinders + 1?

Jul 28, 2011

I made a fresh ubuntu server installation with two of the same hard disk drives in RAID1 mode.When the installation finished, I had some errors in random times rendering the system unresponsibleCode:end_request: I/O error, dev sda, sector <Number>From the above error, it looks like there was a problem with disk sda so I decided to change it with another same disk and rebuild the RAID1.

When I put the new hard disk on it, created a raid partition of the maximum allowed size and tried to add it to the raid array (after having removed the previous disk) I got an error saying that the new partition is not large enough to join this existing RAID1 array!Then an "fdisk -l" command shown something weird...The existing working hard disk in the RAID shows that it has 38913 cylinders but the partition starts at 1 and ends at 38913+1=38914!!How is this possible? When I create a partition myself I am not allowed to put numbers larger than the total number of cylinders!

Code:
# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes

[code]....

View 2 Replies


ADVERTISEMENT

Slackware :: Error: Bad Primary Partition 2: Partition Ends In The Final Partial Cylinde

Dec 29, 2010

I'm slack 13.1, I am trying to install it, but always gives an error. I type cfdisk and appears this error:

Fatal error: bad primary partition 2: Partition ends in the final partial cylinde Press any key to exit cfdisk

View 14 Replies View Related

Fedora Installation :: Total Number Of Lines And Characters

Dec 25, 2010

View the entire contents of the file / etc / passwd, showing first 10 lines of file / etc / group, 10 displayed the last line of the file / etc / group. And
- The total number of lines and characters in file pwd and grp

View 2 Replies View Related

General :: Count Total Number Of Lines Of Found Files?

Mar 20, 2011

I'm running a find. -name pattern to find some files, and I'd like to elegantly get the total number of lines in these files. How can I achieve that?

View 4 Replies View Related

General :: Write Shell Script Which Can Take Number Of Files And Count Total Rows From All CSVs?

Oct 8, 2010

I need to write shell script which can take number of files and count total rows from all CSVs and display total number of rows counted in all files. Is there any possibility of doing that using shell script and if yes then how.

View 4 Replies View Related

Ubuntu :: Swap Partition - Never Uses More Than About 20-25% Of The Total RAM Even If Have Several Applications Running

Jul 7, 2011

I am running Ubuntu 11.04 on a computer with 2GB RAM. It seems that it never uses more than about 20-25% of the total RAM even if I have several applications running.

The question is - do I really need to have a swap partition if it is not being used?

View 5 Replies View Related

General :: Fix Cfdisk Error: "Partition Ends In Final Partial Cylinder"?

Jan 8, 2011

I want to install Arch Linux on my desktop, it is going to be a dual boot with Windows. I booted into the installation CD, but when I started cfdisk to partition my hard drive it gave me the following error: FATAL ERROR: Primairy parititon 1, partition ends in the final partial cylinder.The QuestionHow can I troubleshoot and fix this?Additional details
These will be added if asked for.

View 1 Replies View Related

Ubuntu :: 11.04 Partition Number 83 Value Is Out Of Range?

Jun 29, 2011

my partition should be linux but I can't allocate it using * because the partition number (1-7): 83Value is out of range. I want to allocate everything to one big linux partition with just a small partition for windows for warranty purposes.I don't need all those other partitions which I got probably from trying out different Ubuntu versions.

steve :~$ sudo fdisk /dev/sda
[sudo] password for steve:
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

[code]....

View 9 Replies View Related

General :: GRUB: How Find Partition Number - Hd0,x ?

Aug 29, 2010

I am playing with grub and i change the root using:

How can i know what's x for /dev/sda7 ?

The problem is that in Gparted view, the order is not like sda5, sda6, sda7, ...but the order is like:

So what's x for /dev/sda7 ?

View 2 Replies View Related

General :: Determine Number Of Blocks For A Partition?

Jul 1, 2010

Can someone explain how to determine the number of blocks to determine the number of cylinders for a new partition on hard drive.

Why is block size divided by 1024?

I think I understand unit size is the total bytes per cylinder, I get that. I understand the anatomy of the hard drive (i.e. heads, sectors, cylinders.

My problem is, if I need to calculate the number of cylinders needed for let's say a 20G partition on a 120G drive.

View 1 Replies View Related

General :: Know Maximum Number Of Logical Partition?

Sep 11, 2009

I'd just like to know the max number of logical partitions an extended partition can hold. Is that number different for IDE and SCSI hard drives?

View 11 Replies View Related

General :: Increase Number Of Inodes Without Re-creating Partition?

Jul 14, 2011

How can the number of inodes be increased on an existing EXT3 or EXT4 partition without re-creating the partition?

View 3 Replies View Related

Ubuntu Servers :: Limit On The Number Of Processors?

May 6, 2010

I have a server with 48 cores, 8 6-way Opteron CPU's. Ubuntu Server 9.04 only sees 32 processors. Is there a limit on the number of cores/processors that the server will use? Windows 2008 on the same server sees all 48 cores and the so does the BIOS, so this is unique to Ubuntu right now.

View 5 Replies View Related

Ubuntu Servers :: Changing Port Number

Aug 4, 2010

I would like to change port number for a specific folder name on linux server like domain.com/folder_name:yyyy so people can access that folder with pre defined port number. is there a way that I can do that?

View 2 Replies View Related

Ubuntu Servers :: Ssh_config Can't Change Port Number?

Jun 4, 2010

I've got 10.04 on a headless server on a home network. I've edited /etc/ssh ssh_config and changed line 39 from:

# Port 22

to:

Port 30000

I then

user@server$: sudo /etc/init.d/ssh reload
from the host
user@desktop$: ssh servername -p 30000
ssh: connect to host servername port 30000: Connection refused

What am I doing wrong? I've also tried completely restarting the computer.

View 2 Replies View Related

General :: Make System Partition Letter / Number Designations Persistent?

Aug 15, 2010

Everyone who deals with Linux knows that partitions on hard drives are designated as "sdx#", i.e., sda1 sdb2, etc. I know through experimentation that the number portion of the designation is assigned not according to order on the disk, but chronologically in the order they are created.

Further, if you have several partitions on the disk-say, sda1 through sda3-and you delete sda2, the designation of sda1 will remain the same, but sda3 will become the new sda2. The creation of any further partitions on the drive will start with designation sda3 and increment from that point.

At times this creates a conundrum, especially concerning bootable partitions. Some time back I rendered a partition containing OpenSUSE unbootable because of this, even though Ubuntu owned the GRUB bootloader in the MBR. Ubuntu's GRUB could find and point to the partition using the command "sudo update-grub", but when OpenSUSE took over the boot-up process, its GRUB was pointed to the wrong partition and would freeze up.

My question is this:

Under Windows, one is able to make a Drive letter persistent. Windows will keep the drive letter for that partition and assign around it. Is there a way to change a drive designation number, or at least make it persistent, under Linux? It would be a handy method to forestall these types of booting problems, among other things.

Presently, when a person has installed Linux side-by-side with Windows and want to delete the Windows partition and expand the Linux partition into the free space, I will tell them to format the partition, then shrink it to next to nothing instead of deleting it. This preserves the partition ID scheme while giving them the space to expand their Linux partition into...especially helpful with a seasoned Linux installation that would be a PITA to reinstall and set back up.

Oh, and I already know about UUID. This article explains it, but if you look down through the comments, you will see reasons that it is problematic for desktop application and usage. I want to make it as simple as possible for new Linux users (and myself! ).

View 4 Replies View Related

Ubuntu Servers :: Limit The Number Of Concurrent Clients In Ssh Server?

Feb 1, 2011

I am using ssh server to connect to my Ubuntu desktop. I opened the file sshd_config and change my port number of the server.I want to put a limit on the number of clients in the ssh server.

View 2 Replies View Related

Ubuntu Servers :: Size Of A Mounted Partition Is Smaller Than The Partition Itself?

Mar 23, 2010

I have Ubuntu server 8.04. I have 4 hard drives of 149Go each. Size of a mounted partition is smaller thant the partition itself :

- first drive is the system

- I mounted the 2nd drive (ext3) on a folder, but the Size is 941.89 MB instead of 149Go

- same for drive 3 monted on another folder, but the Size is 941.89 MB instead of 149Go

View 2 Replies View Related

Fedora Servers :: Increase Inode Number On Ext4?

Jun 3, 2010

i have a slave disk with some data formatted in ext4 , now i have 95 % of inode used ( and 50% of used space )how can increase inode ?

View 5 Replies View Related

CentOS 5 :: Share Visudo File Between N Number Of Servers?

Apr 5, 2010

what is the best way to share visudo file without the need to use ldap.

View 3 Replies View Related

Ubuntu Servers :: Remove The Leading Number And Slash If The Input File Is In The New Format?

Sep 10, 2010

I'm thinking of a few ways to do this I'm curious how many better/equal ways there are to do the same task.in a file with format like: 20 text Gi0/2 some other junk I have it reformatted to look like this before going in a database: 0/2 20 text. But for whatever reason some of the new input text looks like this now: 20 text Gi1/0/2 some other junk

My script makes it look like this: 1/0/2 20 text. I want it to remove the leading number and slash if the input file is in the new format.

View 5 Replies View Related

Fedora Servers :: How To Use Fdisk To Partition Hard Disk Into Two Partition

Jul 2, 2011

i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.

View 10 Replies View Related

Ubuntu :: Session Ends During Games?

Feb 7, 2010

Whenever I play a desktop game, my session ends, prompting me to login again. Why does this happen? How can I fix it?

View 3 Replies View Related

Ubuntu :: VLC Ends Log Shows Kill Process?

Feb 9, 2011

My swag is that my VLC has a memory leak and that is why itkeeps dying on my system while playing audio .m3u Playlists of flac filesVLC 1.1.4 Jan 25 2011, ubuntu 10.10, Dell Lattitude laptop D600This is what I see in the syslog

Feb 9 09:24:12 ubugj-DellD600 kernel: [ 4995.881387] Out of memory: kill process 2353 (vlc) score 239282 or a child
Feb 9 09:24:12 ubugj-DellD600 kernel: [ 4995.881401] Killed process 2353 (vlc)

[code]...

View 3 Replies View Related

Ubuntu :: Video Name Ends With .mp4.dap - How To Retain The Format

Jun 3, 2011

I have a couple of videos that end with the extension: .mp4.dap the videos, apparently, were .mp4 but instead are not .mp4.dap where .dap are DarkAdapted Presets File. arkAdapted is a software which applies a red or green filter to the screen to help your eyes get dark adapted.

I thought that Linux in general & Ubuntu in particular allows changing the video format by simply changing the extension name, but this doesn't seem to work now; i recall it once worked sometime ago. Am I mistaken or what ?

View 7 Replies View Related

Ubuntu :: Rsync Backup Ends In Busy Box?

Jul 30, 2011

i am trying to keep a backup of my root on a second partition using rsync.

sda1 system
sda2 system-BAK
sdb1 /home

[code]....

View 3 Replies View Related

Ubuntu :: Cannot Boot - Ends With Grub Rescue Error

Sep 10, 2010

I just installed Ubuntu on a computer but it can't boot, it ends with a greb-rescue error.
What shall I do? Here's my fstab and my sudo blkid. I did an ubuntu side installation with xp.

Le FSTAB
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier for a device; this may be used with UUID= as a more robust way to name devices that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=3a307ad3-99a9-4301-8ad0-f601ef9d157c / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=5b3ff501-f07c-4c2e-ac2d-a238b599cbe2 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

SUDO BLKID:
/dev/sda1: LABEL="System" UUID="26AC3F75AC3F3E9D" TYPE="ntfs"
/dev/sda6: UUID="5b3ff501-f07c-4c2e-ac2d-a238b599cbe2" TYPE="swap"
/dev/loop0: TYPE="squashfs"
/dev/sda5: UUID="3a307ad3-99a9-4301-8ad0-f601ef9d157c" TYPE="ext4"

View 1 Replies View Related

Debian :: Building Firefox-3.6 - Ends With Error ?

Mar 19, 2010

I,m trying to build firefox-3.6 from source but it ends with the following error :

Using Debian lenny.

View 5 Replies View Related

OpenSUSE :: Processes Remaining Behind After A X-Session Ends

Nov 29, 2010

After running Thunderbird, or other X applications between my server and my workstation, processes, notably dbus, remain behind on the server. Over time, they pile up, response becomes so poor I must restart the server to sweep them away. How can this be avoided or better dealt with than an occasionala reboot of the server, clearly not an optimal solution.

View 1 Replies View Related

Programming :: Process Abruptly Ends Without Any Error Or Dump?

Apr 21, 2010

I have a process which runs for a while and then due to some unknown reason ends abruptly without giving a core. I tried looking in the logs and after watching for a pattern am still not 100% sure of the reason. So I was wondering if there is a way to catch the signal which ends the process and print some values in the handler function. I have called the handler for SIGTERM and SIGABRT functions but none of these are getting triggered. I looked online and did not find any other option. Can you please suggest if tehre is any other signal that can be caught for this unknown abrupt termination.

View 2 Replies View Related







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