Re: Resizing partitions on a headless server

2015-06-21 Thread csanyipal
Pascal Hambourg writes: > csanyi...@gmail.com a écrit : >> >> I want to create one LV for /usr and one LV for /var. >> But I can't create a LV with: >> # lvcreate --size 10.10G -n usr bubba >> Rounding up size to full physical extent 10.10 GiB >> /dev/bubba/usr: not found: device not cleared >

Re: Resizing partitions on a headless server

2015-06-21 Thread Gustavo S. L.
A small contribution, perhaps unnecessary. To change the size of a lvs with lvreduce or lvextend is important to use the resize2fs and e2fsck command. Good luck in solving the problem On Sun, Jun 21, 2015 at 11:38 AM, Pascal Hambourg wrote: > csanyi...@gmail.com a écrit : > > > > I want to creat

Re: Resizing partitions on a headless server

2015-06-21 Thread Pascal Hambourg
csanyi...@gmail.com a écrit : > > I want to create one LV for /usr and one LV for /var. > But I can't create a LV with: > # lvcreate --size 10.10G -n usr bubba > Rounding up size to full physical extent 10.10 GiB > /dev/bubba/usr: not found: device not cleared > Aborting. Failed to wipe start o

Re: Resizing partitions on a headless server

2015-06-18 Thread csanyipal
Pascal Hambourg writes: > csanyi...@gmail.com a écrit : >> >> Finally, I solved the problem by doing the followings: >> # lvresize --size 455.5G /dev/mapper/bubba-storage >> # e2fsck -f /dev/mapper/bubba-storage > > Glad you were lucky. > >> What is my goal? >> >> Filesystem Siz

Re: Resizing partitions on a headless server

2015-06-15 Thread csanyipal
Jonathan Dowland writes: > On Mon, Jun 15, 2015 at 08:25:09AM +0200, csanyi...@gmail.com wrote: >> I bought the headless powerpc server here: >> http://www.excitostore.com/ > > If you mean the Excito B3, it would appear to be ARM, not PowerPC. > That's good for you because ARM is still a support

Re: Resizing partitions on a headless server

2015-06-15 Thread csanyipal
Jonathan Dowland writes: > On Mon, Jun 15, 2015 at 08:25:09AM +0200, csanyi...@gmail.com wrote: >> I bought the headless powerpc server here: >> http://www.excitostore.com/ > > If you mean the Excito B3, it would appear to be ARM, not PowerPC. > That's good for you because ARM is still a support

Re: Resizing partitions on a headless server

2015-06-15 Thread Jonathan Dowland
On Mon, Jun 15, 2015 at 08:25:09AM +0200, csanyi...@gmail.com wrote: > I bought the headless powerpc server here: > http://www.excitostore.com/ If you mean the Excito B3, it would appear to be ARM, not PowerPC. That's good for you because ARM is still a supported architecture in Debian, and Power

Re: Resizing partitions on a headless server

2015-06-14 Thread csanyipal
Pascal Hambourg writes: > csanyi...@gmail.com a écrit : >> >> Finally, I solved the problem by doing the followings: >> # lvresize --size 455.5G /dev/mapper/bubba-storage >> # e2fsck -f /dev/mapper/bubba-storage > > Glad you were lucky. > >> Now, I can to use parted to resize my partitions. >> W

Re: Resizing partitions on a headless server

2015-06-14 Thread csanyipal
Pascal Hambourg writes: > csanyi...@gmail.com a écrit : >> >> Finally, I solved the problem by doing the followings: >> # lvresize --size 455.5G /dev/mapper/bubba-storage >> # e2fsck -f /dev/mapper/bubba-storage > > Glad you were lucky. > >> Now, I can to use parted to resize my partitions. >> W

Re: Resizing partitions on a headless server

2015-06-14 Thread csanyipal
Pascal Hambourg writes: > csanyi...@gmail.com a écrit : >> >> Finally, I solved the problem by doing the followings: >> # lvresize --size 455.5G /dev/mapper/bubba-storage >> # e2fsck -f /dev/mapper/bubba-storage > > Glad you were lucky. > >> Now, I can to use parted to resize my partitions. >> W

Re: Resizing partitions on a headless server

2015-06-14 Thread Pascal Hambourg
csanyi...@gmail.com a écrit : > Gary Dale writes: > >> On 14/06/15 09:12 AM, Pascal Hambourg wrote: >>> There is no partition to correct. The problem is in the LV bubba/storage >>> and its filesystem. >>> >> If you read the original post, it looks like the e2rsize >> failed. Therefor the only pro

Re: Resizing partitions on a headless server

2015-06-14 Thread csanyipal
Gary Dale writes: > On 14/06/15 09:12 AM, Pascal Hambourg wrote: >> csanyi...@gmail.com a écrit : >>> Hello, >>> >>> on my headless Debian GNU/Linux Jessie server I want to resize >>> partitions. >> Why ? The use of LVM should avoid the need to resize partitions (PVs). >> >>> root@b2:~# e2fsck -f

Re: Resizing partitions on a headless server

2015-06-14 Thread Gary Dale
On 14/06/15 09:12 AM, Pascal Hambourg wrote: csanyi...@gmail.com a écrit : Hello, on my headless Debian GNU/Linux Jessie server I want to resize partitions. Why ? The use of LVM should avoid the need to resize partitions (PVs). root@b2:~# e2fsck -f /dev/mapper/bubba-storage e2fsck 1.42.12 (2

Re: Resizing partitions on a headless server

2015-06-14 Thread Pascal Hambourg
csanyi...@gmail.com a écrit : > > Finally, I solved the problem by doing the followings: > # lvresize --size 455.5G /dev/mapper/bubba-storage > # e2fsck -f /dev/mapper/bubba-storage Glad you were lucky. > Now, I can to use parted to resize my partitions. > What is my goal? > > Filesystem

Re: Resizing partitions on a headless server

2015-06-14 Thread Gary Dale
On 14/06/15 12:40 AM, csanyi...@gmail.com wrote: Gary Dale writes: On 13/06/15 03:19 PM, csanyi...@gmail.com wrote: Hello, on my headless Debian GNU/Linux Jessie server I want to resize partitions. So far I did followings: root@b2:~# df -T FilesystemType 1K-blocksUse

Re: Resizing partitions on a headless server

2015-06-14 Thread Pascal Hambourg
csanyi...@gmail.com a écrit : > Hello, > > on my headless Debian GNU/Linux Jessie server I want to resize > partitions. Why ? The use of LVM should avoid the need to resize partitions (PVs). > root@b2:~# e2fsck -f /dev/mapper/bubba-storage > e2fsck 1.42.12 (29-Aug-2014) > Pass 1: Checking inodes

Re: Resizing partitions on a headless server

2015-06-14 Thread Gary Dale
On 14/06/15 08:26 AM, csanyi...@gmail.com wrote: csanyi...@gmail.com writes: Gary Dale writes: On 13/06/15 03:19 PM, csanyi...@gmail.com wrote: [snipped] My headless powerpc box can't boot from CD because it hasn't CD device. It only has USB drive. Furthermore, it can't boot with an usual s

Re: Resizing partitions on a headless server

2015-06-14 Thread csanyipal
csanyi...@gmail.com writes: > Gary Dale writes: >> On 13/06/15 03:19 PM, csanyi...@gmail.com wrote: [snipped] > My headless powerpc box can't boot from CD because it hasn't CD > device. It only has USB drive. Furthermore, it can't boot with an usual > system rescue image installed on USB stick,

Re: Resizing partitions on a headless server

2015-06-13 Thread csanyipal
Gary Dale writes: > On 13/06/15 03:19 PM, csanyi...@gmail.com wrote: >> Hello, >> >> on my headless Debian GNU/Linux Jessie server I want to resize >> partitions. So far I did followings: >> >> root@b2:~# df -T >> FilesystemType 1K-blocksUsed Available Use% >> Mounted on >

Re: Resizing partitions on a headless server

2015-06-13 Thread Gary Dale
On 13/06/15 03:19 PM, csanyi...@gmail.com wrote: Hello, on my headless Debian GNU/Linux Jessie server I want to resize partitions. So far I did followings: root@b2:~# df -T FilesystemType 1K-blocksUsed Available Use% Mounted on /dev/root ext3 962184