Re: Passar toda uma partição /dev/hda10 para um outro HD.

2004-03-05 Thread Savio Ramos
On Thu, 4 Mar 2004 15:21:34 -0300
Still [EMAIL PROTECTED] wrote:

 Veja a documentação do qtparted, bem como o histórico da lista.
 Acredito que seja o que vc está procurando.

Está na Sid? O apt-cache retornou nulo.

Encontrei somente o parted. É a mesma coisa?

parted - The GNU Parted disk partition resizing program
parted-bf - The GNU Parted disk partition resizing program, small version
parted-doc - The GNU Parted disk partition resizing program documentation
python-parted - Python bindings for GNU Parted

-- 
Savio Martins Ramos Arquiteto
Rio de Janeiro  ICQ 174972645
Pirataria não!  Use GNU/Linux
Debian-br #705 Unstable
http://www.debian.org



Re: Passar toda uma partição /dev/hda10 p ara um outro HD.

2004-03-05 Thread Rodrigo Lima

Savio Ramos escreveu:


On Thu, 4 Mar 2004 15:21:34 -0300
Still [EMAIL PROTECTED] wrote:

 


Veja a documentação do qtparted, bem como o histórico da lista.
Acredito que seja o que vc está procurando.
   



Está na Sid? O apt-cache retornou nulo.

Encontrei somente o parted. É a mesma coisa?

parted - The GNU Parted disk partition resizing program
parted-bf - The GNU Parted disk partition resizing program, small version
parted-doc - The GNU Parted disk partition resizing program documentation
python-parted - Python bindings for GNU Parted

 


O qtparted se não me engano é só um frontend gráfico pra parted original.
Rodrigo Lima



Passar toda uma partição /dev/hda10 para um outro HD.

2004-03-04 Thread Antonio Ronaldo Gomes Garcia

Boa Tarde!
Eu tenho um Debian que usa uma partição /dev/hda11 como Swap e 
/dev/hda10 como partição / (o barra) este está com 73% de espaço 
oculpado. Então


Seria possível passar toda uma partição /dev/hda10 onde tenho instalado 
/(barra) para um outro HD sem perde configuração e dados da partição? tipo
fazer uma imagem? Seria necessário também fazer isto com a partição 
Swap, isto é transferir todo o meu Debian para este novo HD?


Sem mais fico aguardando uma resposta.
Atenciosamente Ronaldo Garcia.



Re: Passar toda uma partiçã o /dev/hda10 para um outro HD.

2004-03-04 Thread Still
Antônio;
* Musashi corta a msg que Antonio Ronaldo Gomes Garcia enviou para Still:
 Boa Tarde!
 Eu tenho um Debian que usa uma partição /dev/hda11 como Swap e 
 /dev/hda10 como partição / (o barra) este está com 73% de espaço 
 oculpado. Então
 
 Seria possível passar toda uma partição /dev/hda10 onde tenho instalado 
 /(barra) para um outro HD sem perde configuração e dados da partição? tipo
 fazer uma imagem? Seria necessário também fazer isto com a partição 
 Swap, isto é transferir todo o meu Debian para este novo HD?

Veja a documentação do qtparted, bem como o histórico da lista.
Acredito que seja o que vc está procurando.

[]'s,

Still
--
Nelson Luiz Campos  .''`. | I hear; I forget.
Engenheiro Eletricista : :'  :| I see; I remember.
Linux User #89621 UIN 11464303 `. `'` | I do; I understand.
gnupgID: 55577339`-   | Chinese Proverb


signature.asc
Description: Digital signature


Re: /dev/hda10

2000-05-25 Thread Pat Mahoney
On Wed, May 24, 2000 at 11:22:05AM -0400, Ben Collins wrote:
 On Wed, May 24, 2000 at 05:08:01PM +0200, Michael Meskes wrote:
  Could anyone please tell me what I have to do to access /dev/hda10? I can
  create it easily but trying to access it I get an 'unconfigured device'
  message for instance from mke2fs. Do I need a special boot time parameter?
 
 Can you tell me exactly how you have 10 partitons? Even the sun disk label
 only allows for 8. And i386 can have a max of 7(?) with extended
 partitions enabled.

Here is my partition table for /dev/hdc:

Disk /dev/hdc: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes

   Device BootStart   EndBlocks   Id  System
   /dev/hdc1 1   784   6297448+   5  Extended
   /dev/hdc5 126208782   83  Linux
   /dev/hdc627   154   1028128   83  Linux
   /dev/hdc7   155   164 80293   82  Linux swap
   /dev/hdc8   165   611   3590495+  83  Linux
   /dev/hdc9   612   69465+  83  Linux
   /dev/hdc10  695   784722893   83  Linux

As ou can see, /dev/hdc10 exists but there are only 7 partitions. 
The numbers 2-4 are not used (They are the four allowed primary
partitions).  I don't know anything about a limit, but it sounds
likely.

 
 Ben
 
  ---===-=-==-=---==-=--
 /  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
 `  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
  `---=--===-=-=-=-===-==---=--=---'
 

-- 
Pat Mahoney  [EMAIL PROTECTED]


Dare to be naive.
-- R. Buckminster Fuller



Re: /dev/hda10

2000-05-25 Thread Michael Meskes
On Wed, May 24, 2000 at 11:22:05AM -0400, Ben Collins wrote:
 Can you tell me exactly how you have 10 partitons? Even the sun disk label
 only allows for 8. And i386 can have a max of 7(?) with extended
 partitions enabled.

According to kernel docs I can use up to 64. I need several operating
systems and several linux distributions on this one machine. And that won't
fit with just 7 partitions.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!



Re: /dev/hda10

2000-05-25 Thread Michael Meskes
On Wed, May 24, 2000 at 11:45:08AM -0400, Ben Collins wrote:
 Could be, but why would you want 10 partitions? :)

One for Windows (unfortunately), one for Stormix, one for Corel, one for
Debian (the system usually running :-)), one for testing other distros, one
/home, one swap, one to store data that all systems need to access ...

This machine is a demo machine and I don't like having to use different
machines for different demos.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!



Re: /dev/hda10

2000-05-25 Thread Michael Meskes
On Wed, May 24, 2000 at 11:39:28PM +0200, Patrick wrote:
 At the end of my fdisk I had :
 Calling ioctl() to re-read partition table.
 Re-read table failed with error 16: Device or resource busy.
 Reboot your system to ensure the partition table is updated.

Sure had this too. And thinking about it the reasoning absolutely makes
sense. 

Strangely enough though it did work for some of the others that were created
on the running machine too.

Thanks.

michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!



Re: /dev/hda10

2000-05-25 Thread Nathan E Norman
On Thu, May 25, 2000 at 01:13:32PM +0930, John Pearson wrote:

[snip]

 $ /sbin/swapon -s
 FilenameTypeSizeUsedPriority
 /dev/hda2   partition   128516  2108-1
 /dev/hda3   partition   128516  0   -2

You should specify a pri argument in the options field of your
/etc/fstab if you want round-robin swap balancing.  Your current setup
will fill /dev/hda2 first.

Now that I look at it there's no benefit for YOU since both swap
partitions are on the same disk!  If they were on seperate disks you'd
get some performance benefit if you added priority args:

 /dev/hda2  noneswapsw,pri=1
 /dev/hdb2  noneswapsw,pri=1

Cheers,

-- 
Nathan Norman Eschew Obfuscation  Network Engineer
GPG Key ID 1024D/51F98BB7http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7


pgpKbB2VJAyTs.pgp
Description: PGP signature


Re: /dev/hda10

2000-05-25 Thread kmself
On Wed, May 24, 2000 at 11:22:05AM -0400, Ben Collins wrote:
 On Wed, May 24, 2000 at 05:08:01PM +0200, Michael Meskes wrote:
  Could anyone please tell me what I have to do to access /dev/hda10? I can
  create it easily but trying to access it I get an 'unconfigured device'
  message for instance from mke2fs. Do I need a special boot time parameter?
 
 Can you tell me exactly how you have 10 partitons? Even the sun disk label
 only allows for 8. And i386 can have a max of 7(?) with extended
 partitions enabled.

Really?

[EMAIL PROTECTED]:/root]$ fdisk -l /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

   Device BootStart   EndBlocks   Id  System
   /dev/sda1 1   128   1028128+   b  Win95 FAT32
   /dev/sda2   129   131 24097+  83  Linux
   /dev/sda3   *   132   144104422+  83  Linux
   /dev/sda4   145  1106   77272655  Extended
   /dev/sda5   145   161136521   82  Linux swap
   /dev/sda6   162   178136521   82  Linux swap
   /dev/sda7   179   195136521   82  Linux swap
   /dev/sda8   196   208104391   83  Linux
   /dev/sda9   209   240257008+  83  Linux
   /dev/sda10  241   368   1028128+  83  Linux
   /dev/sda11  369   623   2048256   83  Linux
   /dev/sda12  624   980   2867571   83  Linux
   /dev/sda13  981  1106   1012063+  83  Linux

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of Gestalt don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpYVWGBVCEEf.pgp
Description: PGP signature


/dev/hda10

2000-05-24 Thread Michael Meskes
Could anyone please tell me what I have to do to access /dev/hda10? I can
create it easily but trying to access it I get an 'unconfigured device'
message for instance from mke2fs. Do I need a special boot time parameter?

Michael

P.S.: Please CC me on replies.
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!



Re: /dev/hda10

2000-05-24 Thread Ben Collins
On Wed, May 24, 2000 at 05:08:01PM +0200, Michael Meskes wrote:
 Could anyone please tell me what I have to do to access /dev/hda10? I can
 create it easily but trying to access it I get an 'unconfigured device'
 message for instance from mke2fs. Do I need a special boot time parameter?

Can you tell me exactly how you have 10 partitons? Even the sun disk label
only allows for 8. And i386 can have a max of 7(?) with extended
partitions enabled.

Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: /dev/hda10

2000-05-24 Thread Oswald Buddenhagen
 And i386 can have a max of 7(?) with extended partitions enabled.
 
not sure, but this sounds very strange to me.
afaik, you can nest extended patitions as much as you want.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!



Re: /dev/hda10

2000-05-24 Thread Ben Collins
On Wed, May 24, 2000 at 05:39:32PM +0200, Oswald Buddenhagen wrote:
  And i386 can have a max of 7(?) with extended partitions enabled.
  
 not sure, but this sounds very strange to me.
 afaik, you can nest extended patitions as much as you want.

Could be, but why would you want 10 partitions? :)

And does the kernel support this (yes I know fdisk can easily support
something like this, but that doesn't mean the kernel does).

Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: /dev/hda10

2000-05-24 Thread Oswald Buddenhagen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Could be, but why would you want 10 partitions? :)
 
i've see that ...

 And does the kernel support this (yes I know fdisk can easily support
 something like this, but that doesn't mean the kernel does).
 
according to devices.txt up to hd?63 would be possible.

- -- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
- --
If Windows is the answer, I want the problems back!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5K/oIoN5Ezorl3XsRAk2GAJ4nDf6Tg2cKt4V4vrFoeCe8gQ+ovQCfaGEl
vViqB3g9eZtxc25ZIXyvaN4=
=kSuk
-END PGP SIGNATURE-



Re: /dev/hda10

2000-05-24 Thread Ray Olszewski
At 05:39 PM 5/24/00 +0200, Oswald Buddenhagen wrote:
 And i386 can have a max of 7(?) with extended partitions enabled.
 
not sure, but this sounds very strange to me.
afaik, you can nest extended patitions as much as you want.

I believe you are correct, Oswald. Basically, you daisy-chain the extended
partitions (think linked list, though it's technically a bit different).

I'm also puzzled by the initial question. Every Debian install I've done
created /dev/hda10 as part of the install process. Perhaps the original
poster made a mistake when creating it? The output of ls -l /dev/hda10
might be informative, as might a partition list of /dev/hda from fdisk.


Never tell me the odds!---
Ray Olszewski-- Han Solo
Palo Alto, CA[EMAIL PROTECTED]




Re: /dev/hda10

2000-05-24 Thread Kenneth Scharf

On Wed, May 24, 2000 at 05:08:01PM +0200, Michael
Meskes wrote:
 Could anyone please tell me what I have to do to
access /dev/hda10? I 
can
 create it easily but trying to access it I get an
'unconfigured 
device'
 message for instance from mke2fs. Do I need a
special boot time 
parameter?

Can you tell me exactly how you have 10 partitons?
Even the sun disk 
label
only allows for 8. And i386 can have a max of 7(?)
with extended
partitions enabled.

I have /dev/hdb11 on my machine!  I think you can have
as many as 32 partitions on an IDE hd on i386. (the
limit on scsi is less?)  Also if  you have extended
partitions then you might just have an /dev/hdx4 (no
1,2, or 3) since extended partitions start at number
5.  (in my case I have /dev/hdb1, 2, 4,5 - 11)



=
Amateur Radio, when all else fails!

http://www.qsl.net/wa2mze

Debian Gnu Linux, Live Free or .



__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



Re: /dev/hda10

2000-05-24 Thread Lee Elliott
Ben Collins wrote:
 
 On Wed, May 24, 2000 at 05:08:01PM +0200, Michael Meskes wrote:
  Could anyone please tell me what I have to do to access /dev/hda10? I can
  create it easily but trying to access it I get an 'unconfigured device'
  message for instance from mke2fs. Do I need a special boot time parameter?
 
 Can you tell me exactly how you have 10 partitons? Even the sun disk label
 only allows for 8. And i386 can have a max of 7(?) with extended
 partitions enabled.
 
 Ben
 
 --
  ---===-=-==-=---==-=--
 /  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
 `  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
  `---=--===-=-=-=-===-==---=--=---'

I have a system partitioned thus:

hda1Primary DOS FAT-16
hda2Primary Debian1 ext2/
hda3Primary Debian2 ext2/
hda5Logical Debian3 ext2/
hda6Logical common(1,2,3)   swap
hda7Logical common(1,2,3)   ext2/var/cache/apt/archives
hda8Logical Debian1 ext2/usr
hda9Logical Debian2 ext2/usr
hda10   Logical Debian3 ext2/usr
hda11   Logical common(1,2,3)   ext2/data

Don't have any problems accessing any partition from any Debian.  The
only trouble I had was getting two 'other' OS's installed - they both
seemed to want to be on a primary partition and could only cope with one
during installation.  In an earlier config attempt I had split the data
partition in two and had tried with two partitions for the other OS's,
and again, Debian didn't have any trouble accessing them.

It was easier to put the other OS's on first and then use Debian fdisk
during installation to partition the rest.

-- 

http://www.spatial.freeserve.co.uk

...or something




Re: /dev/hda10

2000-05-24 Thread Patrick
Le Wed, May 24, 2000 at 05:08:01PM +0200, Michael Meskes a dit:
 Could anyone please tell me what I have to do to access /dev/hda10? I can
 create it easily but trying to access it I get an 'unconfigured device'
 message for instance from mke2fs. Do I need a special boot time parameter?

I've found out that with (some ?) 2.2.x kernels you seem to need to reboot the
computer between an fdisk and an mke2fs to get ride of 'unconfigured
device'.
It doesn't matter which /dev/hda?? it is, as soon as some /dev/hda
partitions are already in use.

Not very proud on that one, but it works.
I've tried an strace on mke2fs only to see that unconfigured device
is really what the kernel is telling mke2fs.
For example I had once :
open(/dev/sdb3, O_RDONLY) = -1 ENXIO (Device not configured)

At the end of my fdisk I had :
Calling ioctl() to re-read partition table.
Re-read table failed with error 16: Device or resource busy.
Reboot your system to ensure the partition table is updated.

So that explains...
After rebooting, it was ok.

What has fdisk told you when you created /dev/hda10 ?
Did you create it at the same time as others /dev/hdaXX ?

-- 
Patrick.
Because if life has a meaning, we should already know it.



Re: /dev/hda10

2000-05-24 Thread Peter Good
Also, it may be a dual boot windows/linux machine, which makes
/dev/hda10 only the 6th partition. least that's how it works on mine
/dev/hda1 (doze)
/dev/hda5 (linux)
/dev/hda6 (var)
/dev/hda7 (home)
/dev/hda8 (swp)

Oswald Buddenhagen wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
  Could be, but why would you want 10 partitions? :)
 
 i've see that ...
 
  And does the kernel support this (yes I know fdisk can easily support
  something like this, but that doesn't mean the kernel does).
 
 according to devices.txt up to hd?63 would be possible.
 
 - --
 Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

--
In the beginning, the universe was created. 
This made a lot of people very angry, and 
has been widely regarded as a bad idea.

***
*Peter GoodEmail: [EMAIL PROTECTED]
*Pete's Internet Services  Sales: [EMAIL PROTECTED] *
*http://www.petesinternet.net  Phone: 0401 283 482*
*Morayfield QLD Australia *
***



Re: /dev/hda10

2000-05-24 Thread Brad
On Wed, May 24, 2000 at 11:39:28PM +0200, Patrick wrote:
 
 I've found out that with (some ?) 2.2.x kernels you seem to need to reboot the
 computer between an fdisk and an mke2fs to get ride of 'unconfigured
 device'.
 It doesn't matter which /dev/hda?? it is, as soon as some /dev/hda
 partitions are already in use.

If any partition on the drive is mounted when you try to write the
table, it will give the message you quote below and give errors trying
to access any new partitions until a reboot. If you unmount all the
partitions before trying to write, then it works right away without
rebooting.

The reason, of course, is that it doesn't want to screw around the
partitions when those partitions are being used, since that's a good way
to destroy something. So it doesn't allow the changes to take effect
until it's known safe.

 At the end of my fdisk I had :
 Calling ioctl() to re-read partition table.
 Re-read table failed with error 16: Device or resource busy.
 Reboot your system to ensure the partition table is updated.

-- 
  finger for GPG public key.


pgpAU0nWM1wzS.pgp
Description: PGP signature


Re: /dev/hda10

2000-05-24 Thread John Pearson
On Wed, May 24, 2000 at 11:45:08AM -0400, Ben Collins wrote
 On Wed, May 24, 2000 at 05:39:32PM +0200, Oswald Buddenhagen wrote:
   And i386 can have a max of 7(?) with extended partitions enabled.
   
  not sure, but this sounds very strange to me.
  afaik, you can nest extended patitions as much as you want.
 
 Could be, but why would you want 10 partitions? :)
 
 And does the kernel support this (yes I know fdisk can easily support
 something like this, but that doesn't mean the kernel does).
 


Works for me...
$ df
Filesystem 1024-blocks  Used Available Capacity Mounted on
/dev/hda5 792800  138536   613300 18%   /
/dev/hda1   77461536 5810 21%   /boot
/dev/hda61189050 185  1127418  0%   /home
/dev/hda71189050 101  1127502  0%   /var/spool/mail
/dev/hda8 497667  13   471952  0%   /var/spool/pop
/dev/hda911890501366  1126237  0%   /var/log
/dev/hda10497667  13   471952  0%   /tmp
/dev/hdc17956307 2722158  4821682 36%   /ftp
$ /sbin/swapon -s
FilenameTypeSizeUsedPriority
/dev/hda2   partition   128516  2108-1
/dev/hda3   partition   128516  0   -2
$

I'd have even more if I'd made /usr and /usr/local separate partitions,
was hosting a news server, or had more space for ftp.


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin  support:technical services